From 7d98a93cec1c9b3b4b790799242fc35dbaf3a9c8 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 3 Sep 2015 14:56:02 -0400 Subject: 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 --- freedreno/freedreno_bo.c | 1 - 1 file changed, 1 deletion(-) (limited to 'freedreno') 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); -- cgit v1.2.3