drm/atomic: Use explicit old/new state in drm_atomic_crtc_check()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 1 Nov 2018 18:46:45 +0000 (20:46 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 7 Nov 2018 17:21:56 +0000 (19:21 +0200)
commitb2432adf33e8c8eb81afaba3030f0ba0145ce7d4
tree7f91c9c4fe251401cea3f3d275744740190a8088
parent534903d60376b4989b76ec445630aa10f2bc3043
drm/atomic: Use explicit old/new state in drm_atomic_crtc_check()

Convert drm_atomic_crtc_check() over to using explicit old vs. new
crtc states. Avoids the confusion of "what does crtc->state mean
again?".

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181101184646.14753-2-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_atomic.c