From: Imre Deak Date: Fri, 25 Oct 2024 16:02:58 +0000 (+0300) Subject: drm/i915/dp: Write the source OUI during connector detection X-Git-Tag: v6.13-rc1~122^2~7^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=855e828c2665f21286e170c3f3c8656d8afcb72c;p=thirdparty%2Fkernel%2Flinux.git drm/i915/dp: Write the source OUI during connector detection The DP sink's capabilities, like DSC, may depend on the source OUI written to the sink. On eDP this OUI value could have been reset before the detection started if the panel power on it got disabled. Make sure the OUI is re-written at the beginning of detection in this case, before the sink capabilities are read out. Reviewed-by: Ville Syrjälä Signed-off-by: Imre Deak Link: https://patchwork.freedesktop.org/patch/msgid/20241025160259.3088727-8-imre.deak@intel.com --- diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c index b692d442f84aa..f884711cbad32 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.c +++ b/drivers/gpu/drm/i915/display/intel_dp.c @@ -5667,6 +5667,8 @@ intel_dp_detect(struct drm_connector *connector, goto out_unset_edid; } + intel_dp_init_source_oui(intel_dp); + ret = intel_dp_tunnel_detect(intel_dp, ctx); if (ret == -EDEADLK) { status = ret;