drm/i915: Remove crtc->config dereferences in intel_sanitize_crtc
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 11 Oct 2018 10:04:53 +0000 (12:04 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 16 Oct 2018 13:43:59 +0000 (15:43 +0200)
commit1b52ad46162dd675089495303a3875f6f2c42d52
treeff5b6a376af5cf11b14ee50f5e23fc8ec52f0263
parentf2bdd112685c5ba6e3673524e6af7cd2fe2758af
drm/i915: Remove crtc->config dereferences in intel_sanitize_crtc

We know the crtc is idle because we're at the beginning of sanitization,
so just dereference crtc->state instead.

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/20181011100457.8776-7-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/intel_display.c