diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-07-15 23:20:35 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-09-05 15:15:09 +0300 |
commit | f04b1d91aeec5f981b3a8f10b7321fed544d68d6 (patch) | |
tree | d27abc101c2b9f4d9a36c0510bbcc487b476a041 | |
parent | 46d4eedab5a1fbadfd5dfc915a92cd13fb3bf325 (diff) | |
download | linux-f04b1d91aeec5f981b3a8f10b7321fed544d68d6.tar.xz |
drm/i915: Properly define the DP redriver VBT bits
Split the DP redriver bytes into bitfields.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220715202044.11153-4-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_vbt_defs.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h index 951a8ca4db7b..5b05cb0b6ba7 100644 --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h @@ -393,8 +393,14 @@ struct child_device_config { u8 device_id[10]; /* ascii string */ struct { u8 i2c_speed; - u8 dp_onboard_redriver; /* 158+ */ - u8 dp_ondock_redriver; /* 158+ */ + u8 dp_onboard_redriver_preemph:3; /* 158+ */ + u8 dp_onboard_redriver_vswing:3; /* 158+ */ + u8 dp_onboard_redriver_present:1; /* 158+ */ + u8 reserved0:1; + u8 dp_ondock_redriver_preemph:3; /* 158+ */ + u8 dp_ondock_redriver_vswing:3; /* 158+ */ + u8 dp_ondock_redriver_present:1; /* 158+ */ + u8 reserved1:1; u8 hdmi_level_shifter_value:5; /* 158+ */ u8 hdmi_max_data_rate:3; /* 204+ */ u16 dtd_buf_ptr; /* 161+ */ @@ -402,11 +408,11 @@ struct child_device_config { u8 compression_enable:1; /* 198+ */ u8 compression_method_cps:1; /* 198+ */ u8 ganged_edp:1; /* 202+ */ - u8 reserved0:4; + u8 reserved2:4; u8 compression_structure_index:4; /* 198+ */ - u8 reserved1:4; + u8 reserved3:4; u8 slave_port; /* 202+ */ - u8 reserved2; + u8 reserved4; } __packed; } __packed; |