mesa/src/panfrost
Olivia Lee 6a2ba45e71 pan/kmod: fix propagation of MAP_FAILED in pan_kmod_bo_mmap
All current callers check for MAP_FAILED, not NULL, and we are returning
MAP_FAILED already on the other error paths.

Fixes: d5f4f918f3 ("panfrost: clean up mmap-diagnostics")
Signed-off-by: Olivia Lee <olivia.lee@collabora.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36122>
(cherry picked from commit 77f7147cea)
2025-07-16 16:23:12 +02:00
..
ci pan/bi: Lower ffract in bifrost_nir_algebraic on v11+ 2025-05-20 20:18:07 +02:00
clc pan/clc: Build for v13 2025-04-15 13:36:07 +02:00
compiler pan/bi: Disallow FAU for CLPER in bi_check_fau_src 2025-07-16 16:23:10 +02:00
drm-shim panfrost: Fix group priorities in drm-shim 2025-02-05 13:30:29 +00:00
ds panfrost/pps: fix omitting several counters 2025-04-05 08:06:00 +00:00
lib pan/kmod: fix propagation of MAP_FAILED in pan_kmod_bo_mmap 2025-07-16 16:23:12 +02:00
libpan pan/clc: Build for v13 2025-04-15 13:36:07 +02:00
midgard panfrost: allow promoting sysval UBO to push constants 2025-04-27 11:50:23 +02:00
perf pan/kmod: Add drmIoctl() wrapper pan_kmod_ioctl() with CPU trace 2025-04-15 10:37:39 +00:00
shared pan/shared: fix typo in pan_tiling doc comments 2025-07-16 16:23:12 +02:00
tools build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
util panfrost: Fix shader_clock support for v6+ 2025-06-18 17:55:44 +02:00
vulkan panvk: add error checking for dump/trace mmap call 2025-07-16 16:23:12 +02:00
.clang-format pan/cs: cs_{break,continue} are not for_each macros 2025-01-15 14:07:37 +00:00
meson.build panfrost: build panfrost_compile for -Dtools=panfrost 2025-05-01 09:38:52 +02:00