Commit 6e8fbf8d authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915/vbt: Fix HDMI level shifter and max data rate bitfield sizes

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: default avatarJani Nikula <jani.nikula@intel.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171027201738.3640-1-ville.syrjala@linux.intel.comReviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent be33be5d
...@@ -342,8 +342,8 @@ struct child_device_config { ...@@ -342,8 +342,8 @@ struct child_device_config {
u8 i2c_speed; u8 i2c_speed;
u8 dp_onboard_redriver; /* 158 */ u8 dp_onboard_redriver; /* 158 */
u8 dp_ondock_redriver; /* 158 */ u8 dp_ondock_redriver; /* 158 */
u8 hdmi_level_shifter_value:4; /* 169 */ u8 hdmi_level_shifter_value:5; /* 169 */
u8 hdmi_max_data_rate:4; /* 204 */ u8 hdmi_max_data_rate:3; /* 204 */
u16 dtd_buf_ptr; /* 161 */ u16 dtd_buf_ptr; /* 161 */
u8 edidless_efp:1; /* 161 */ u8 edidless_efp:1; /* 161 */
u8 compression_enable:1; /* 198 */ u8 compression_enable:1; /* 198 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment