]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Ignore a hung GPU when flushing the framebuffer prior to a switch
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 11 Feb 2011 20:47:45 +0000 (20:47 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Feb 2011 15:52:40 +0000 (15:52 +0000)
commitadb9a8cb1f14d95cc291825938cb961edee30e0b
treeea0e0f435e21e19ba2884dae1fe43fded64b42ae
parentd986088e8584b3265524a1b77c0511ceccafe2af
drm/i915: Ignore a hung GPU when flushing the framebuffer prior to a switch

If the gpu is hung, then whatever was inside the render cache is lost
and there is little point waiting for it. Or complaining if we see an
EIO or EAGAIN instead. So, if the GPU is indeed in its death throes when
we need to rewrite the registers for a new framebuffer, just ignore the
error and proceed with the update.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c