diff options
author | Iago Toral Quiroga <[email protected]> | 2020-01-13 15:42:46 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2020-01-15 07:53:58 +0100 |
commit | 3f3ec07be51fd59a9ca0f5f68e75d59479daceac (patch) | |
tree | 70203daea9b50827231ac34dd449ff371573693f /src | |
parent | 222e127e3934d27319b2547be68955eb24cf19c7 (diff) |
v3d: fix bug when checking result of syncobj fence import
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3383>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3383>
Diffstat (limited to 'src')
-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 8d13a09a9f4..d4b4e48c46f 100644 --- a/src/gallium/drivers/v3d/v3d_fence.c +++ b/src/gallium/drivers/v3d/v3d_fence.c @@ -79,7 +79,7 @@ v3d_fence_finish(struct pipe_screen *pscreen, return false; } - drmSyncobjImportSyncFile(screen->fd, syncobj, f->fd); + ret = drmSyncobjImportSyncFile(screen->fd, syncobj, f->fd); if (ret) { fprintf(stderr, "Failed to import fence to syncobj: %d\n", ret); return false; |