mesa/src
Paulo Zanoni 7e96ea1294 iris: don't munmap NULL pointers
This is a regression, the previous commit had this check which was
removed in the patch mentioned below. What happens is that when we
have a buffer that's not mmapped and we try to bo_free it we get some
very funny backtraces. Easily reproducible with fullscreen
gputest.triangle.

Fixes: f62724ccac ("iris: Pick a single mmap mode (WB/WC) at BO allocation time")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4890
Tested-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11284>
2021-06-10 20:49:59 +00:00
..
amd radv: increase maxComputeSharedMemorySize 2021-06-10 12:55:53 +00:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi nir, nir/algebraic: add byte/word insertion instructions 2021-06-08 08:57:42 +00:00
broadcom v3dv: enable KHR_uniform_buffer_standard_layout 2021-06-10 15:04:23 +01:00
compiler nir: document that ACCESS_RESTRICT is not set at intrinsics 2021-06-10 13:17:22 +00:00
drm-shim drm-shim: fix compile with glibc >= 2.33 2021-04-20 05:49:29 +00:00
egl egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
etnaviv etnaviv: tell the truth if alpha-test is supported 2021-04-08 19:25:26 +00:00
freedreno ir3: Copy propagate immed/const to meta instructions 2021-06-10 12:24:06 -07:00
gallium iris: don't munmap NULL pointers 2021-06-10 20:49:59 +00:00
gbm gbm: list to stderr all the missing extension 2021-05-24 16:17:47 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: create DRI screen for display GPU incase of prime 2021-06-03 09:12:32 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel anv/blorp: Optimize addresses/relocations when ANV_ALWAYS_SOFTPIN 2021-06-08 22:53:22 +00:00
loader loader: allocate VRAM in display GPU in case of prime 2021-06-03 09:12:32 +00:00
mapi glapi: fix Warray-parameter 2021-06-10 10:31:55 +00:00
mesa swrast: Fix a warning from gcc 11 2021-06-10 16:20:09 +00:00
microsoft nir: Move workgroup_size and workgroup_variable_size into common shader_info 2021-06-08 09:23:55 -07:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost pan/decode: Handle cache flush jobs 2021-06-10 18:06:11 +00:00
tool pps: Intel pps driver 2021-05-18 14:28:48 +00:00
util egl+libsync: Add check for valid fence-fd 2021-06-07 20:14:25 +00:00
virtio venus: forward the host renderer hardware info 2021-06-07 23:54:52 +00:00
vulkan vulkan: Update the XML and headers to 1.2.180 2021-06-09 08:25:25 +00:00
meson.build freedreno: Add freedreno pps driver 2021-05-10 15:34:07 +00:00