mesa/src
Marek Olšák cb8da4bb41 radv: bump the sparse alignment requirement to 64K
4K sparse allocations are super slow because they thrash TLB, so it's better
to disallow them.

radeonsi already reports 64K alignment for sparse buffers, but RADV
reported 4K.

VMEM latency with 4K pages:

Size   ,  1024,  1536,    2K,    3K,    4K,    6K,    8K,   12K,   16K,   24K,   32K,   48K,   64K,   96K,  128K,  192K,  256K,  384K,  512K,  768K, 1024K, 1536K,    2M,    3M,    4M,
Latency,    86,    86,    86,    86,    89,    86,    86,    87,    87,   126,   127,   126,   128,   387,   409,   448,   423,   450,   446,   424,   430,   429,   428,   433,   432
                                                                                                       ^      ^      ^      ^      ^      ^      ^      ^      ^      ^

VMEM latency with 64K pages (it's lower, up to 2x lower in some cases):

Size   ,  1024,  1536,    2K,    3K,    4K,    6K,    8K,   12K,   16K,   24K,   32K,   48K,   64K,   96K,  128K,  192K,  256K,  384K,  512K,  768K, 1024K, 1536K,    2M,    3M,    4M,
Latency,    87,    86,    86,    86,    86,    86,    86,    87,    87,   125,   127,   126,   128,   198,   196,   197,   198,   376,   392,   411,   381,   401,   392,   432,   451,
                                                                                                       ^      ^      ^      ^      ^      ^      ^      ^      ^      ^

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42127>
2026-06-12 03:31:42 +00:00
..
amd radv: bump the sparse alignment requirement to 64K 2026-06-12 03:31:42 +00:00
android_stub android_stub: purge unused log utils 2026-05-01 20:23:23 +00:00
asahi hk: use drirc_gen 2026-06-10 07:17:14 +00:00
broadcom v3dv: gate Dawn-required limits and features behind V3D_WEBGPU_OVERRIDE 2026-06-10 15:22:27 +00:00
c11
compiler compiler/rust/as_slice: Add a new AsArray trait 2026-06-12 02:52:04 +00:00
drm-shim drm-shim: Include the hex of the driver ioctl for unimplemented ioctls. 2026-06-04 20:17:34 +00:00
egl egl: fix _EGL_NATIVE_PLATFORM fallback for unrecognized native displays 2026-06-11 10:00:34 +00:00
etnaviv etnaviv/isa: Fix Meson warning about etnaviv_isa_rs dummy library 2026-06-11 12:05:59 +00:00
freedreno ir3: use the correct builder for adding preamble to main. 2026-06-12 00:19:48 +00:00
gallium teflon: Ensure all TfLiteRegistration fields are 0 2026-06-11 20:12:52 +00:00
gbm gbm: Replace VER_MIN with common MIN2 2026-04-30 13:00:03 +00:00
getopt
gfxstream gfxstream: kumquat: validate device dmabuf support before use 2026-06-08 21:38:19 +00:00
glx glx: avoid crash on glXBindTexImageEXT when no texture target set 2026-06-10 20:57:35 +00:00
gtest
imagination nir: Allow atomic intrinsics to have multiple components 2026-06-11 00:23:34 +00:00
imgui imgui: update copy and port all tools using it 2026-04-30 10:59:45 +00:00
intel brw: Remove the brw assembler tests 2026-06-12 01:32:12 +00:00
kosmickrisp kk,wsi/metal: Support VK_(KHR/EXT)_swapchain_maintenance1 2026-06-10 17:41:01 +00:00
loader loader: check if the kernel driver is amdgpu 2026-05-27 10:19:50 +00:00
mesa mesa/main: cast GLhandleARB to unsigned int in api trace 2026-06-05 23:43:49 -07:00
microsoft dzn: use drirc_gen 2026-06-10 07:17:14 +00:00
nouveau nir: add impl pointer to block to avoid recursive linked list 2026-06-12 00:19:48 +00:00
panfrost kraid/nir: Implement nir_op_unpack_64_* 2026-06-12 02:52:05 +00:00
poly poly: Fix range used for index unroll bounds checks 2026-05-26 10:39:00 +00:00
tool pps: Re-emit time clock_sync more regularly 2026-05-06 21:37:15 +00:00
util util: Fix float8 denorm rounding to min-normal 2026-06-11 17:13:04 +00:00
virtio venus: use drirc_gen 2026-06-10 07:17:14 +00:00
vulkan vulkan/android: Map AHARDWAREBUFFER_FORMAT_Y8 to VK_FORMAT_R8_UNORM 2026-06-11 15:48:37 +00:00
x11 meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
.clang-format intel: add Jay 2026-04-10 18:21:21 +00:00
meson.build meson: drop non-existent platforms=xcb check 2026-06-11 18:14:54 +00:00