drm/i915: Fix regression with crtc disable ordering
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 30 Aug 2019 10:16:44 +0000 (12:16 +0200)
committerManasi Navare <manasi.d.navare@intel.com>
Fri, 30 Aug 2019 21:18:31 +0000 (14:18 -0700)
commit7bff9779d76917adfa7c67712aa6ae3b7e5098ba
treee52ccee26af56f4cdf48ec7c5aeda39948f2db54
parentaabbe344dc3ca5f7d8263a02608ba6179e8a4499
drm/i915: Fix regression with crtc disable ordering

When we moved the code to disable crtc's to a separate patch,
we forgot to ensure that for_each_oldnew_intel_crtc_in_state_reverse()
was moved as well.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fixes: 66d9cec8a6c9 ("drm/i915/display: Move the commit_tail() disable sequence to separate function")
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190830101644.8740-1-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/display/intel_display.c