drm/i915: add a note about fec_enable with 128b/132b
authorJani Nikula <jani.nikula@intel.com>
Wed, 20 Sep 2023 11:29:01 +0000 (14:29 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 21 Sep 2023 08:04:11 +0000 (11:04 +0300)
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>
Link: https://patchwork.freedesktop.org/patch/msgid/20230920112901.3315876-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_display_types.h

index 2213ad6c00da6131f7321b4a5a11e62c172c7127..2328f5e66cd8fccc7606f2aa05b3ed6d81229ea1 100644 (file)
@@ -1365,7 +1365,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;