amdgpu: Add BO handle to table in amdgpu_bo_create

Graphics / Mesa 3D Graphics Library / libdrm - Michel Dänzer [amd.com] - 1 July 2019 09:31 EDT

Simplifies its callers.

dev->bo_table_mutex is now always held when amdgpu_bo_create is called (this was already the case in amdgpu_bo_import).

a1bde9b6 amdgpu: Add BO handle to table in amdgpu_bo_create
amdgpu/amdgpu_bo.c | 32 ++++++++++++--------------------
1 file changed, 12 insertions(+), 20 deletions(-)

Upstream: cgit.freedesktop.org


  • Share