diff options
author | Rob Clark <robclark@freedesktop.org> | 2015-09-03 14:56:02 -0400 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2015-09-03 14:56:02 -0400 |
commit | 7d98a93cec1c9b3b4b790799242fc35dbaf3a9c8 (patch) | |
tree | e7e6a564af2f8a2a125b11af23dc72ef5d8f8c7c /freedreno | |
parent | 949c325c50d4036fed1cfb34c304d3bd7b54ad28 (diff) |
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>
Diffstat (limited to 'freedreno')
-rw-r--r-- | freedreno/freedreno_bo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/freedreno/freedreno_bo.c b/freedreno/freedreno_bo.c index 80ecd3af..1cb67595 100644 --- a/freedreno/freedreno_bo.c +++ b/freedreno/freedreno_bo.c @@ -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); |