freedreno: don't take ownership of the dmabuf fd on import

EGL_EXT_image_dma_buf_import specifies that the importer retains
ownership of the fd, rather then the importee.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
main
Rob Clark 2015-09-03 14:56:02 -04:00
parent 949c325c50
commit 7d98a93cec
1 changed files with 0 additions and 1 deletions

View File

@ -245,7 +245,6 @@ fd_bo_from_dmabuf(struct fd_device *dev, int fd)
lseek(fd, 0, SEEK_CUR);
bo = bo_from_handle(dev, size, handle);
bo->fd = fd;
out_unlock:
pthread_mutex_unlock(&table_lock);