mesa/src
Mary Guillemard 066850bb3a
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
panfrost: Take tiler memory budget into account in pan_select_tiler_hierarchy_mask
On v12+, the hardware report support for 8 levels but
effectively only support up to 4 levels.

In case more than 4 levels are used, it will default to 0xAA when
tile_size is 32x32 or lower, otherwise 0xAC when the tile_size is greater than 32x32.

This patch makes it that we now ensure that the bins can fit inside out
tiler budget and otherwise drop levels until it fit.

This also allows the hardware to decide the hierarchy on v12+
if we know it will fit.

This fixes "dEQP-GLES31.functional.fbo.no_attachments.maximums.all" and
dEQP-GLES31.functional.fbo.no_attachments.maximums.size" on v12+ but
also likely more if we were exhausting the memory budget.

Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Backport-to: 25.1
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34559>
(cherry picked from commit 92afeb37bf)
2025-04-22 01:25:05 +02:00
..
amd radv: fix incorrect patch_outputs_read for TCS with dynamic state 2025-04-22 01:25:00 +02:00
android_stub
asahi hk: fix patch count = 0 handling 2025-04-22 01:24:53 +02:00
broadcom v3dv: avoid TFU reading unmapped pages beyond the end of the buffers 2025-04-15 00:17:11 +02:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler nir/algebraic: Allow fmin(a,a) optimization when flush denorm to zero is not set 2025-04-15 23:59:31 +00:00
drm-shim
egl EGL: legacy-x11=dri2 should support hardware driver 2025-04-22 01:24:45 +02:00
etnaviv etnaviv: Add multi-planar YUV support 2025-03-31 17:41:04 +00:00
freedreno ir3/a7xx: Add post-RA pass to track liveness and insert (last) 2025-04-16 07:40:50 +00:00
gallium panfrost: Take tiler memory budget into account in pan_select_tiler_hierarchy_mask 2025-04-22 01:25:05 +02:00
gbm meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
getopt
gfxstream gfxstream: update code generator for simplified dep graph 2025-04-09 18:29:57 +00:00
glx glx: stop exporting EXT_texture_object functions from libGLX_mesa.so 2025-03-27 05:46:35 +00:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui
intel anv: re enable compression for CPS surfaces on platforms other than Xe 2025-04-22 01:24:32 +02:00
loader loader: Stop looking in ${libdir}/tls/ 2025-03-13 19:45:45 +00:00
mapi glapi: import noop_array and public stubs earlier. 2025-04-04 00:18:28 +00:00
mesa mesa: Add CPU traces 2025-04-15 10:37:39 +00:00
microsoft ci/microsoft: Add job timeouts and pin Piglit to GSt 2025-04-01 12:21:01 +00:00
nouveau nak: Handle idp4 ureg latencies 2025-04-22 01:24:38 +02:00
panfrost panfrost: Take tiler memory budget into account in pan_select_tiler_hierarchy_mask 2025-04-22 01:25:05 +02:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util mesa: Add CPU traces 2025-04-15 10:37:39 +00:00
virtio venus: virtgpu: Require stable wire format 2025-04-22 01:24:59 +02:00
vulkan vk/sync: Fix execution only barriers 2025-04-10 15:28:22 +00:00
x11 glx/egl/x11: fix x11_dri3_check_multibuffer 2025-02-17 02:50:15 +00:00
.clang-format radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
meson.build meson: support building with system libgbm 2025-04-09 12:15:33 +00:00