drm/i915/dp_mst: Make HBLANK expansion quirk work for logical ports
authorImre Deak <imre.deak@intel.com>
Tue, 16 Apr 2024 22:10:09 +0000 (01:10 +0300)
committerImre Deak <imre.deak@intel.com>
Fri, 19 Apr 2024 14:20:53 +0000 (17:20 +0300)
commit427c70302bbef0542a11464066447d66f97a6fe0
tree6c4ffe39e8c34cab9b71be9c5956167dd11f3434
parent93cb4094a7fd30a6e20b9781aafb94e3fffbe59a
drm/i915/dp_mst: Make HBLANK expansion quirk work for logical ports

The DPCD OUI of the logical port on a Dell UHBR monitor - on which the
AUX device is used to enable DSC - is all 0. To detect if the HBLANK
expansion quirk is required for this monitor use the OUI of the port's
parent instead.

Since in the above case the DPCD of both the logical port and the parent
port reports being a sink device (vs. branch device) type, read the
proper sink/branch OUI based on the DPCD device type.

This is required by a follow-up patch enabling the quirk for the above
Dell monitor.

Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240416221010.376865-11-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp_mst.c