mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-26 13:30:12 +01:00
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>
This commit is contained in:
parent
949c325c50
commit
7d98a93cec
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue