From: Iago Toral Quiroga Date: Mon, 13 Jan 2020 14:42:46 +0000 (+0100) Subject: v3d: fix bug when checking result of syncobj fence import X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f3ec07be51fd59a9ca0f5f68e75d59479daceac;p=mesa.git v3d: fix bug when checking result of syncobj fence import Reviewed-by: Alejandro PiƱeiro Tested-by: Marge Bot Part-of: --- 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;