]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drm/i915/vbt: Fix HDMI level shifter and max data rate bitfield sizes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Oct 2017 20:17:38 +0000 (23:17 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 30 Oct 2017 14:17:04 +0000 (16:17 +0200)
The HDMI level shifter value should be 5 bits and the max data rate 3 bits.

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

index f225c288a121d38fd885de089680ee7ad610017f..3c3c421e2e43cade631f89fdd4809a12518e6527 100644 (file)
@@ -342,8 +342,8 @@ struct child_device_config {
                        u8 i2c_speed;
                        u8 dp_onboard_redriver;                 /* 158 */
                        u8 dp_ondock_redriver;                  /* 158 */
-                       u8 hdmi_level_shifter_value:4;          /* 169 */
-                       u8 hdmi_max_data_rate:4;                /* 204 */
+                       u8 hdmi_level_shifter_value:5;          /* 169 */
+                       u8 hdmi_max_data_rate:3;                /* 204 */
                        u16 dtd_buf_ptr;                        /* 161 */
                        u8 edidless_efp:1;                      /* 161 */
                        u8 compression_enable:1;                /* 198 */