mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-30 19:00:14 +01:00
freedreno: don't reuse exported buffers
Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
c349616763
commit
691d14c9a8
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue