drm/i915: Remove dereferences of crtc->config in set_pipeconf/misc functions, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 4 Oct 2018 09:45:52 +0000 (11:45 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 5 Oct 2018 13:16:27 +0000 (15:16 +0200)
commitfdf73510ca81e3dd82db697327cb2c81624475ce
treeaa03af5816f2eec3d073d1f45f2d5cc6acb6f9ac
parent33373258cf021869380140078bb3f9732b7d852d
drm/i915: Remove dereferences of crtc->config in set_pipeconf/misc functions, v2.

One more user of crtc->config down. :)

Changes since v1:
- Constify crtc_state
- int pipe -> enum pipe pipe
- Move i9xx_set_pipeconf declaration to the other pipeconf declarations.

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