drm/i915: Get rid of crtc->config from icl_pll_to_ddi_pll_sel
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 4 Oct 2018 09:46:00 +0000 (11:46 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 5 Oct 2018 13:18:22 +0000 (15:18 +0200)
commit0e5fa64610f6f7fe40f46c6ac7981a1d22e957df
treeb84f7106bde9cd85207ffba58bf84675ca648afd
parent5e1cdf541b24b8189835baa038c05725815d8378
drm/i915: Get rid of crtc->config from icl_pll_to_ddi_pll_sel

Pass the full state to intel_ddi_clk_select, so we can pass it
to icl_pll_to_ddi_pll_sel instead of passign the crtc and having
to dereference crtc->config

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