drm/i915: Change .crtc_enable/disable() calling convention
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Nov 2019 16:44:30 +0000 (18:44 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 20 Nov 2019 15:43:47 +0000 (17:43 +0200)
commit7451a074bf2f263ed7c92f6d9d21aa9c2beef601
tree02d7bed472bcf0415d0679798989a74efc6a37c8
parent502d871459d25e52358ddbafbc8cf9125fb12e1a
drm/i915: Change .crtc_enable/disable() calling convention

Just pass the atomic state+crtc to the .crtc_enable()
.crtc_disable(). Life is easier when you don't have to think
whether to pass the old or the new crtc state.

Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191118164430.27265-11-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/i915_drv.h