drm/i915: Eliminate some encoder->crtc usage from DP code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 31 Oct 2017 20:51:14 +0000 (22:51 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 Nov 2017 18:04:17 +0000 (20:04 +0200)
commitadc103047e583497f675f0db32b758c8c2069633
tree499c62baa6799b4503866ab69442beb9da28ee10
parent94dec87159af6f3dcc0b78d3f909aefa9e29c01a
drm/i915: Eliminate some encoder->crtc usage from DP code

Extract the current crtc from the crtc state rather than via
the legacy encoder->crtc pointer whenever possible.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171031205123.13123-2-ville.syrjala@linux.intel.com
Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
drivers/gpu/drm/i915/intel_dp.c