diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-21 09:37:49 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-21 10:38:31 -0700 |
commit | 87afc2e2da8e820d35909a92e5104bd976ce0928 (patch) | |
tree | 8c026bee683fbaa2bb043d2b5f08a9890bb0e0ca /src/gallium | |
parent | c43fa6b3209b229ac7b31fa7ce49a556f1c4d7ad (diff) |
panfrost: Fix missing ret assignment in DRM code
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_drm.c b/src/gallium/drivers/panfrost/pan_drm.c index 8ee39c52d4a..c3693bff56a 100644 --- a/src/gallium/drivers/panfrost/pan_drm.c +++ b/src/gallium/drivers/panfrost/pan_drm.c @@ -420,7 +420,7 @@ panfrost_drm_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: %m\n"); return false; |