mesa/src
Jose Maria Casanova Crespo 07d3d55783 v3dv: really fix CLE MMU errors on 7.1HW Rpi5
Macro values that define values for different HW generations should
use the V3DV_X helper instead of being defined under a V3D_VERSION #if
condition.

Without this change, the original V3D_CLE_READAHEAD and
V3D_CLE_BUFFER_MIN_SIZE definitions used were only working for 4.2 HW.
For the 7.1 HW (RPi5) the 4.2 definitions were applied.

The CLE MMU errors were hidden as they were reported at dmesg as
"MMU error from client PTB (1) at 0x1884200, pte invalid" instead of
client CLE. So fixes all v3dv dmesg warnings for PTB MMU errors on RPi5.

With this change we really don't need different functions per HW generation,
so we rename back file v3dvx_cl.c to v3dv_cl.c. As before, we can use
only the packets definitions for 4.2 HW as they use the same opcode as 7.1 HW.

It fixes also an indentation error introduced with 26c8a5cd72.

Fixes: bb77ac983e ("v3dv: Increase alignment to 16k on CL BO on RPi5")
Fixes: 26c8a5cd72 ("v3dv: fix CLE MMU errors avoiding using last bytes of CL BOs.")

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29496>
2024-05-31 10:32:27 +00:00
..
amd nir: remove unpack_half_flush_to_zero 2024-05-31 09:46:35 +00:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi asahi: unify naming for COUNTS structs 2024-05-16 13:25:56 -04:00
broadcom v3dv: really fix CLE MMU errors on 7.1HW Rpi5 2024-05-31 10:32:27 +00:00
c11
compiler nir: remove unpack_half_flush_to_zero 2024-05-31 09:46:35 +00:00
drm-shim drm-shim: Stub syncobj reset ioctl 2024-05-21 14:14:25 +00:00
egl egl/android: Fix sRGB visuals 2024-05-21 11:57:55 +00:00
etnaviv ci/etnaviv: skip Vulkan tests on GC2000 2024-05-30 21:22:30 +00:00
freedreno ir3: Add some more missing progress accumulation 2024-05-30 21:33:29 +00:00
gallium intel: fix HW generated local-id with indirect compute walker 2024-05-31 08:44:22 +00:00
gbm loader: silence implicit-load zink error by the loader 2024-05-10 14:19:59 +00:00
getopt
glx glxext: don't try zink if not enabled in mesa 2024-05-13 08:34:57 +00:00
gtest
imagination pvr: use common stype debug 2024-05-10 18:49:38 +00:00
imgui
intel nir: remove unpack_half_flush_to_zero 2024-05-31 09:46:35 +00:00
loader loader: silence implicit-load zink error by the loader 2024-05-10 14:19:59 +00:00
mapi glapi: fix param type in TexGenxOES 2024-05-01 00:47:59 +02:00
mesa mesa/main: fixup indent 2024-05-29 06:41:03 +00:00
microsoft microsoft/clc: fix incorrect changes that got through while the Windows CI was down 2024-05-10 20:52:21 +00:00
nouveau nouveau: import nvif/ioctl.h file from libdrm_nouveau 2024-05-27 22:23:41 +00:00
panfrost panfrost: mark tests as fixed 2024-05-30 17:47:32 +00:00
tool pps: Config tweaks to avoid loosing traces 2024-03-25 19:49:50 +00:00
util u_trace: extend tracepoint end_of_pipe bit into flags 2024-05-30 06:38:04 +00:00
virtio ci/venus: skip a timeout test 2024-05-24 02:34:45 +00:00
vulkan vulkan/android: Fix YcbcrRange for !mapper4 2024-05-30 20:59:42 +00:00
.clang-format asahi: add agx_ppp_push_merged helper 2024-05-14 04:57:27 +00:00
meson.build loader/wayland: Add fallback wl_display_dispatch_queue_timeout 2024-02-27 13:10:13 +00:00