drm/vc4: Fix -ERESTARTSYS error return from BO waits.
authorEric Anholt <eric@anholt.net>
Mon, 25 Jan 2016 22:32:41 +0000 (14:32 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 16 Feb 2016 20:20:59 +0000 (12:20 -0800)
commit13cf8909ead67e313ea203ee524b3cf4b09b3c9d
tree0c2f86ae5710d83110403bbc7079e67dbfc24f93
parent2c68f1fcfb9cfc10deff9bc59774aa331a6fabd2
drm/vc4: Fix -ERESTARTSYS error return from BO waits.

This caused the wait ioctls to claim that waiting had completed when
we actually got interrupted by a signal before it was done.  Fixes
broken rendering throttling that produced serious lag in X window
dragging.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_gem.c