diff options
author | Eric Anholt <[email protected]> | 2018-06-19 11:24:56 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-06-20 09:30:46 -0700 |
commit | 1334295f29cfb9f5e0ee49afae131ce03455c2f2 (patch) | |
tree | 12012b0b1c46aa38a22d262be6630f13c0f6b99e /src/gallium | |
parent | 8b3099353e2511c2b2fa0e979f09129f493bd77c (diff) |
v3d: Fix return value from fence_finish.
We needed to convert from a -errno to a boolean success value. Fixes:
GTF-GLES3.gtf.GL3Tests.sync.sync_functionality_clientwaitsync_flush
GTF-GLES3.gtf.GL3Tests.sync.sync_functionality_clientwaitsync_signaled
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/v3d/v3d_fence.c | 2 |
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 * |