drm/i915: Pass crtc state to intel_pipe_{enable,disable}()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 29 Nov 2017 15:37:32 +0000 (17:37 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 1 Dec 2017 15:05:16 +0000 (17:05 +0200)
commit4972f70a202eeb3c270e182c8b83fc271288076c
tree63f64c208518b4b8c001f3dfd358780b1f7c7b05
parentd5fb43cb7fffc8f6863d68456252bcf3f06a070a
drm/i915: Pass crtc state to intel_pipe_{enable,disable}()

Get rid of the crtc->config usages from within
intel_pipe_{enable,disable}() by passing in the appropriate
crtc state.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171129153732.3612-3-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c