Message ID | 20230920112901.3315876-1-jani.nikula@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/i915: add a note about fec_enable with 128b/132b | expand |
On Wed, Sep 20, 2023 at 02:29:01PM +0300, Jani Nikula wrote: > Add a note that fec_enable actually means FEC is to be enabled > explicitly. 128b/132b always has FEC enabled, the driver doesn't need to > enable it separately, and fec_enable will be false. > > Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> > Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> > --- > drivers/gpu/drm/i915/display/intel_display_types.h | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h > index 3c54fe2bfddd..f781a9755a52 100644 > --- a/drivers/gpu/drm/i915/display/intel_display_types.h > +++ b/drivers/gpu/drm/i915/display/intel_display_types.h > @@ -1364,7 +1364,12 @@ struct intel_crtc_state { > > bool enhanced_framing; > > - /* Forward Error correction State */ > + /* > + * Forward Error Correction. > + * > + * Note: This will be false for 128b/132b, which will always have FEC > + * enabled automatically. > + */ > bool fec_enable; > > bool sdp_split_enable; > -- > 2.39.2
On Wed, 20 Sep 2023, Ville Syrjälä <ville.syrjala@linux.intel.com> wrote: > On Wed, Sep 20, 2023 at 02:29:01PM +0300, Jani Nikula wrote: >> Add a note that fec_enable actually means FEC is to be enabled >> explicitly. 128b/132b always has FEC enabled, the driver doesn't need to >> enable it separately, and fec_enable will be false. >> >> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> >> Signed-off-by: Jani Nikula <jani.nikula@intel.com> > > Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Thanks, pushed. BR, Jani > >> --- >> drivers/gpu/drm/i915/display/intel_display_types.h | 7 ++++++- >> 1 file changed, 6 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h >> index 3c54fe2bfddd..f781a9755a52 100644 >> --- a/drivers/gpu/drm/i915/display/intel_display_types.h >> +++ b/drivers/gpu/drm/i915/display/intel_display_types.h >> @@ -1364,7 +1364,12 @@ struct intel_crtc_state { >> >> bool enhanced_framing; >> >> - /* Forward Error correction State */ >> + /* >> + * Forward Error Correction. >> + * >> + * Note: This will be false for 128b/132b, which will always have FEC >> + * enabled automatically. >> + */ >> bool fec_enable; >> >> bool sdp_split_enable; >> -- >> 2.39.2
diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h index 3c54fe2bfddd..f781a9755a52 100644 --- a/drivers/gpu/drm/i915/display/intel_display_types.h +++ b/drivers/gpu/drm/i915/display/intel_display_types.h @@ -1364,7 +1364,12 @@ struct intel_crtc_state { bool enhanced_framing; - /* Forward Error correction State */ + /* + * Forward Error Correction. + * + * Note: This will be false for 128b/132b, which will always have FEC + * enabled automatically. + */ bool fec_enable; bool sdp_split_enable;
Add a note that fec_enable actually means FEC is to be enabled explicitly. 128b/132b always has FEC enabled, the driver doesn't need to enable it separately, and fec_enable will be false. Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> --- drivers/gpu/drm/i915/display/intel_display_types.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)