radv/winsys: Finish mapping for sparse residency.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 17 May 2020 21:01:37 +0000 (23:01 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 19 May 2020 19:17:35 +0000 (19:17 +0000)
commit4c62dbb145712b49e011feaebd9bf9499b2dfe58
tree63345ce1538d016eb391f8ccae8cc26eacd3f488
parentfec36c0668bf8f1fd477c97549a0b50f1c55cf4d
radv/winsys: Finish mapping for sparse residency.

This adds the part that disables pagefaults when unbacked sparse
textures get accessed.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5079>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c