drm/i915: Pass intel_crtc_state to needs_modeset()
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 28 Jun 2019 08:55:12 +0000 (10:55 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 1 Jul 2019 08:31:59 +0000 (10:31 +0200)
commit69f786aea946230b98e2756769169eb6ddb329cb
tree89758bb8902463261f56ee20dc3112bba50e788d
parent501ec325f1ec4338c0b6d32001a6f4cdfc61a6b2
drm/i915: Pass intel_crtc_state to needs_modeset()

In i915 we should use intel_crtc_state as much as possible, pass
intel_crtc_state to needs_modeset, before we clean up all other uses
of drm_crtc_state.

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