gallium/radeon: disallow exports of sparse and suballocated BOs
authorMarek Olšák <marek.olsak@amd.com>
Tue, 27 Jun 2017 17:32:48 +0000 (19:32 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 4 Jul 2017 13:40:37 +0000 (15:40 +0200)
commit03c5ef195df4972d864d84c0ffaf917505afc13d
tree46a280e591042b394e3f0a4db9eec0c488509574
parent047c34f0ac6ebd55c2f408f743fc4b0a9e4848a9
gallium/radeon: disallow exports of sparse and suballocated BOs

I think it's unsafe, because the slabs can reuse exported storage.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c
src/gallium/winsys/radeon/drm/radeon_drm_bo.c