Commit f04b1d91 authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Properly define the DP redriver VBT bits

Split the DP redriver bytes into bitfields.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220715202044.11153-4-ville.syrjala@linux.intel.comReviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 46d4eeda
......@@ -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;
......
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