]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Wait for fences interruptibly in blocking mode.
authorEric Anholt <eric@anholt.net>
Wed, 21 Jun 2017 18:50:00 +0000 (11:50 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 22 Jun 2017 18:14:19 +0000 (11:14 -0700)
commit12349d6785a0cb1b0f22c7e90ec3f4f498715d46
tree30021fd27c2b9042db0bef8fc0d1f5c0bbb14b84
parent33c2fb3445b7c61e50f3ed2046f70d3daf214618
drm/vc4: Wait for fences interruptibly in blocking mode.

We should allow SIGIO and things to interrupt us before we get to the
no-error stage of the commit process.  This code is effectively copied
from drm_atomic_helper_commit().

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/20170621185002.28563-2-eric@anholt.net
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/gpu/drm/vc4/vc4_kms.c