summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/v3d/v3d_fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/v3d/v3d_fence.c b/src/gallium/drivers/v3d/v3d_fence.c
index fb2e4306104..47b5818cb3b 100644
--- a/src/gallium/drivers/v3d/v3d_fence.c
+++ b/src/gallium/drivers/v3d/v3d_fence.c
@@ -70,7 +70,7 @@ v3d_fence_finish(struct pipe_screen *pscreen,
struct v3d_screen *screen = v3d_screen(pscreen);
struct v3d_fence *f = (struct v3d_fence *)pf;
- return drmSyncobjWait(screen->fd, &f->sync, 1, timeout_ns, 0, NULL);
+ return drmSyncobjWait(screen->fd, &f->sync, 1, timeout_ns, 0, NULL) == 0;
}
struct v3d_fence *