aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'freedreno/freedreno_bo.c')
-rw-r--r--freedreno/freedreno_bo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/freedreno/freedreno_bo.c b/freedreno/freedreno_bo.c
index 10949ebf..7f8ea59c 100644
--- a/freedreno/freedreno_bo.c
+++ b/freedreno/freedreno_bo.c
@@ -138,6 +138,7 @@ fd_bo_from_dmabuf(struct fd_device *dev, int fd)
138 pthread_mutex_lock(&table_lock); 138 pthread_mutex_lock(&table_lock);
139 ret = drmPrimeFDToHandle(dev->fd, fd, &handle); 139 ret = drmPrimeFDToHandle(dev->fd, fd, &handle);
140 if (ret) { 140 if (ret) {
141 pthread_mutex_unlock(&table_lock);
141 return NULL; 142 return NULL;
142 } 143 }
143 144