winsys/amdgpu: add amdgpu_winsys_bo::lock
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 21 Nov 2018 16:34:38 +0000 (17:34 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 28 Nov 2018 17:23:29 +0000 (18:23 +0100)
commit35eb81987c0f93215680138fab6595602b7c49a4
tree3e7bc9a0ad6719b297b6fc3408a0a46e7f1c9e33
parente0f1f74eda6e1bdb3bcee075f6cc5082d4137069
winsys/amdgpu: add amdgpu_winsys_bo::lock

We'll use it in the upcoming mapping change. Sparse buffers have always
had one.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
src/gallium/winsys/amdgpu/drm/amdgpu_bo.h
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c