drm/i915: Make pll functions take crtc_state, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 4 Oct 2018 09:45:57 +0000 (11:45 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 5 Oct 2018 13:17:22 +0000 (15:17 +0200)
commitb2354c78b1251719f38775b27837fc39e25e3d35
tree4a06058f40e28b677edee8ba2901c6f17c14b6f9
parent15cbe5d0926f5d4700c1a0e27e02cb83c1ec392c
drm/i915: Make pll functions take crtc_state, v2.

Instead of passing crtc and dereferencing crtc->config,
passs the correct crtc_state and obtain the crtc pointer from there.

Changes since v1:
- Move vlv/chv changes and i9xx_set_pll_dividers changes
  from crtc_enable/disable patches to here.
- Add commit message.

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