drm/i915: Perform pageflip using mmio if the GPU is terminally wedged
commitf900db4758ac251e9a9d31d32d48551cab071479
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 20 Feb 2014 09:26:13 +0000 (20 09:26 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Mar 2014 20:30:20 +0000 (5 21:30 +0100)
treeb4c00b6f1c2d1b7f447000ea54459fbef6f6f2c2
parent6f0ea9e212b36fe831f104ab2ac7582b9741600a
drm/i915: Perform pageflip using mmio if the GPU is terminally wedged

After a hang and failed reset, we cannot use the GPU to execute the page
flip instructions. Instead we can force a synchronous mmio flip. (Later,
we can reduce the synchronicity of the mmio flip by moving some of the
delays off to a worker, like the current page flip code; see vblank
tasks.)

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