diff options
author | Rob Clark <robdclark@gmail.com> | 2015-08-29 12:49:28 -0400 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2015-09-19 12:11:38 -0400 |
commit | 691d14c9a85acd806f83664fd58bd87bd32683eb (patch) | |
tree | d0405b0cfe68b2f6837330bde0368587755f4712 /freedreno | |
parent | c3496167637e35cf8a52d5e7e53a412e79d80db0 (diff) |
freedreno: don't reuse exported buffers
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'freedreno')
-rw-r--r-- | freedreno/freedreno_bo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/freedreno/freedreno_bo.c b/freedreno/freedreno_bo.c index 1cb67595..fee32fca 100644 --- a/freedreno/freedreno_bo.c +++ b/freedreno/freedreno_bo.c @@ -371,6 +371,7 @@ int fd_bo_get_name(struct fd_bo *bo, uint32_t *name) pthread_mutex_lock(&table_lock); set_name(bo, req.name); pthread_mutex_unlock(&table_lock); + bo->bo_reuse = 0; } *name = bo->name; @@ -395,6 +396,7 @@ int fd_bo_dmabuf(struct fd_bo *bo) } bo->fd = prime_fd; + bo->bo_reuse = 0; } return dup(bo->fd); } |