]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/i915/intel_display.c
drm/i915: Decouple the stuck pageflip on modeset
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Sep 2014 06:13:25 +0000 (07:13 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 5 Sep 2014 07:31:24 +0000 (09:31 +0200)
commit9c787942907face82da505c2c5493998b56cfc5a
tree22333c30330a89e1d4470a492264fbed6682a028
parentd6bbafa183793537d8dca4d4c2e448805e59448a
drm/i915: Decouple the stuck pageflip on modeset

If we successfully confuse the hardware, and cause it to drop a queued
pageflip, we wait for 60s and issue a warning before continuing on with
the modeset. However, this leaves the pending pageflip still stuck
indefinitely. Pretend to userspace that it does complete, and let us
start afresh following the modeset.

v2: Rebase after refactor
v3: Rebase, rebase.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=82612
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c