radv: Handle mmap failures.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 20 Jun 2020 19:12:01 +0000 (21:12 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 24 Jun 2020 13:00:02 +0000 (13:00 +0000)
commita5cb88eea45c02eb398117b2c52f1ef1626e2204
treee20b617fb7bafd74922cff076f3f772da3937326
parent04765e6a9a43b831edd25a51a85e81f1390f36a8
radv: Handle mmap failures.

Which can happen if we have to many mmaps active in the process.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5578>
src/amd/vulkan/radv_descriptor_set.c
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_shader.c