drm/i915: Define VBT max HDMI FRL rate bits
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 Jul 2022 20:20:38 +0000 (23:20 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 5 Sep 2022 12:15:52 +0000 (15:15 +0300)
The VBT gained some bits to inidicate the max FRL rate for
HDMI 2.1, define them.

These just outright replaced the slave_port bits for ganged eDP.
Apparently that feature was never actually used so someone decided
that reusing the bits is fine. Although the actual ganged eDP
enable bit was still left defined elsewhere for some reason.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220715202044.11153-7-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_vbt_defs.h

index 245c8ae9256d9a68bdeab146ec26c533dc2457fc..f376d41944911c6564da1ea872fc47b865b3c6e9 100644 (file)
@@ -412,8 +412,10 @@ struct child_device_config {
                        u8 reserved2:3;
                        u8 compression_structure_index:4;       /* 198+ */
                        u8 reserved3:4;
-                       u8 slave_port;                          /* 202+ */
-                       u8 reserved4;
+                       u8 hdmi_max_frl_rate:4;                 /* 237+ */
+                       u8 hdmi_max_frl_rate_valid:1;           /* 237+ */
+                       u8 reserved4:3;                         /* 237+ */
+                       u8 reserved5;
                } __packed;
        } __packed;