OSDN Git Service

drm/i915: Get rid of crtc->config dereference in intel_dp_retrain_link
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 4 Oct 2018 09:46:02 +0000 (11:46 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 5 Oct 2018 13:18:46 +0000 (15:18 +0200)
commitf56f6648404b411b377a3082bc9459fed66a968f
treef411cdd5b4aac0cb4bfda96bad35d6e50721196e
parent6e3d9dd0ae0aa4f0b6ccb273aa88c2e19e901cce
drm/i915: Get rid of crtc->config dereference in intel_dp_retrain_link

We're already using crtc_state here and made sure no modeset is
occurring by looking at conn_state->commit->hw_done, so there's
no need to dereference crtc->config.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181004094604.2646-12-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/intel_dp.c