projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
222e127
)
v3d: fix bug when checking result of syncobj fence import
author
Iago Toral Quiroga
<itoral@igalia.com>
Mon, 13 Jan 2020 14:42:46 +0000
(15:42 +0100)
committer
Iago Toral Quiroga
<itoral@igalia.com>
Wed, 15 Jan 2020 06:53:58 +0000
(07:53 +0100)
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3383>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3383>
src/gallium/drivers/v3d/v3d_fence.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/v3d/v3d_fence.c
b/src/gallium/drivers/v3d/v3d_fence.c
index 8d13a09a9f4f35d99e553e9998e9ac1c91eb9438..d4b4e48c46f6546b791c4b67bfc41eb1db7be234 100644
(file)
--- 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;