Skip to content

Commit

Permalink
drm/i915/dp: Write the source OUI during connector detection
Browse files Browse the repository at this point in the history
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ä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241025160259.3088727-8-imre.deak@intel.com
  • Loading branch information
Imre Deak committed Oct 31, 2024
1 parent 4fbdc4a commit 855e828
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/i915/display/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 855e828

Please sign in to comment.