mesa/src
Alyssa Rosenzweig 96d65b47c7 panfrost: Use implementation-specific tile size
The physical tile buffer size (and hence the maximum available tilebuffer size)
are implementation-defined. Track this information on the device so we can
correctly select tile sizes, instead of hardcoding the value for Midgard.

Implementation values are pulled from the "Tile bits/pixel" row of the public
Mali data sheet [1]. That row lists the maximum number of bits available for a
pixel given the maximum tile size and pipelining. For currently supported
hardware (v9 and older), that maximum tile size is 16x16. So those values should
be multiplied by (16 * 16 * 2) / 8 to get the physical size in bytes.

This may improve Bifrost/Valhall performance on workloads using multiple render
targets. It also gets us ready for the dazzling array of tile sizes available
with v10.

[1] https://developer.arm.com/documentation/102849/latest/

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17432>
2022-07-13 19:00:41 +00:00
..
amd radv: add a dynamic vertex format cache. 2022-07-13 01:10:09 +00:00
android_stub
asahi panfrost,asahi: Use util_sign_extend for unpacking 2022-07-06 11:23:18 +00:00
broadcom glx: Fix drawable refcounting for naked Windows 2022-07-13 12:25:30 -04:00
c11 c11: reinstate the original license and authorship 2022-06-27 11:46:22 +00:00
compiler nir/opt_algebraic: Optimize [ui](add|sub)_sat with 0. 2022-07-13 07:34:09 +00:00
drm-shim drm-shim: Cleanup on device file close 2022-05-02 19:50:33 +00:00
egl egl: Just include driconf.h instead of redefining its values. 2022-07-12 21:57:23 +00:00
etnaviv etnaviv: drm: rename etna_drm_table_lock 2022-07-03 17:41:55 +00:00
freedreno ir3: Fix the no-emitted-vertex condition emission in geom lowering. 2022-07-13 18:16:45 +00:00
gallium panfrost: Only key points to point coord origin 2022-07-13 17:43:50 +00:00
gbm gallium: Learn about kopper 2022-04-07 00:17:40 +00:00
getopt
glx glx: Fix drawable refcounting for naked Windows 2022-07-13 12:25:30 -04:00
gtest gtest: Fix maybe-uninitialized compiler warning 2022-06-29 21:02:18 +00:00
hgl
imagination pvr: Implicitly assert that the correct sub-command type is present 2022-07-13 12:30:10 +01:00
imgui
intel glx: Fix drawable refcounting for naked Windows 2022-07-13 12:25:30 -04:00
loader loader: Just include driconf.h instead of redefining its values. 2022-07-12 21:57:23 +00:00
mapi mesa: Stub out GL_APPLE_object_purgeable 2022-07-11 16:37:34 -04:00
mesa mesa: Fix the error check for VertexAttrib*. 2022-07-12 17:15:43 +00:00
microsoft microsoft/spirv_to_dxil: Fix discard to demote + return pass 2022-07-12 20:22:52 +00:00
nouveau nouveau: Drop C++03 compat code 2022-07-05 13:23:12 +00:00
panfrost panfrost: Use implementation-specific tile size 2022-07-13 19:00:41 +00:00
tool meson/pps: Check if libdrm exists to compile pps 2022-06-22 11:52:36 +03:00
util util: Don't block SIGSEGV for new threads 2022-07-13 06:51:27 +00:00
virtio venus: GetPhysicalDeviceSparseImageFormatProperties to match sparse support 2022-07-12 21:20:19 +00:00
vulkan venus: use updated tokens from vk.xml 2022-07-12 15:53:11 +00:00
meson.build meson: Use cc.get_argument_syntax instead cc.get_id when possible. 2022-06-16 19:59:58 +00:00