Skip to content

Commit 1f12d63

Browse files
committed
drm/i915/dp: Write the source OUI for non-eDP sinks as well
At least the i-tec USB-C Nano 2x Display Docking Station (containing a Synaptics MST branch device) requires the driver to update the source OUI DPCD registers to expose its DSC capability. Accordingly update the OUI for all sink types (besides eDP where this has been done already). v2: Rebased on latest patch version. Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11776 Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241025160259.3088727-9-imre.deak@intel.com
1 parent 855e828 commit 1f12d63

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/gpu/drm/i915/display/intel_dp.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3410,9 +3410,6 @@ intel_dp_init_source_oui(struct intel_dp *intel_dp)
34103410
u8 oui[] = { 0x00, 0xaa, 0x01 };
34113411
u8 buf[3] = {};
34123412

3413-
if (!intel_dp_is_edp(intel_dp))
3414-
return;
3415-
34163413
if (READ_ONCE(intel_dp->oui_valid))
34173414
return;
34183415

@@ -6136,6 +6133,8 @@ intel_dp_hpd_pulse(struct intel_digital_port *dig_port, bool long_hpd)
61366133

61376134
if (long_hpd) {
61386135
intel_dp->reset_link_params = true;
6136+
intel_dp_invalidate_source_oui(intel_dp);
6137+
61396138
return IRQ_NONE;
61406139
}
61416140

0 commit comments

Comments
 (0)