]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make the lock for pageflips interruptible
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 May 2012 10:13:58 +0000 (11:13 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 20 Jul 2012 10:21:41 +0000 (12:21 +0200)
commitfb2a69aa0aba7793f06f03db43e3182c0de58536
tree520ff6549bc77a5e69ee0c7114def95af1516417
parent00f626d5a64a329d79feda27e82b2a42949c69ae
drm/i915: Make the lock for pageflips interruptible

As we take the struct_mutex lock to access the command-stream, there is
a possibility that we may need to wait for a GPU hang and so should make
the lock both interruptible and error-checking.

References: https://bugs.freedesktop.org/show_bug.cgi?id=50069
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c