OSDN Git Service

drm/i915: Make ironlake_pch_transcoder_set_timings take crtc_state
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 4 Oct 2018 09:45:58 +0000 (11:45 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 5 Oct 2018 13:18:09 +0000 (15:18 +0200)
commit5e1cdf541b24b8189835baa038c05725815d8378
tree089b61176e7ca41c438242cfe75b31663ba37a90
parent65c307fd08dd6cc7771220ee0238a152db552d97
drm/i915: Make ironlake_pch_transcoder_set_timings take crtc_state

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

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