]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Do not wait for flips in intel_crtc_disable_noatomic.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 19 Oct 2015 15:09:23 +0000 (17:09 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 21 Oct 2015 07:55:08 +0000 (09:55 +0200)
commitb4a6288c222fbfcb00856b9e855850a0ebd03cb2
treee9b7278ff632b0d53743441a80db019c599aadc6
parent47fe9d3e6e02825b46b6cc175ce7732177a0258e
drm/i915: Do not wait for flips in intel_crtc_disable_noatomic.

intel_crtc_disable_noatomic is called from hw readout during init, resume and possibly reset.
During init it's too early to have a page flip queued, before suspending all page flips
should be finished and during hw reset all page flips should be removed.

It's a bug when there are pending flips here, complain with WARN_ON instead of handling it.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/562507A3.3080901@linux.intel.com
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c