mesa/src
Nanley Chery 53440554c4 intel/isl: Add and use ISL_MAIN_TO_CCS_SIZE_RATIO_XE
In iris, use the CCS scale down factor to calculate the impact of CCS on
TBIMR tile sizes. Even though we fall back to a seemingly less accurate
method to calculate the impact of CCS, it ends up giving the same
answer, 1bpp. Anv already uses this factor, so this patch replaces the
constant with this macro.

There are two benefits to doing this:

1) Consistency between anv and iris.

2) Preparation for a future where we no longer use ISL surfaces to
   describe CCS on Xe+. In fact, in iris, we already don't create such
   surfaces on ACM.

I considered using INTEL_AUX_MAP_MAIN_SIZE_SCALEDOWN for the calculation
in both drivers, but the naming is aux-map specific and the scaledown
actually exists on flat-ccs platforms as well.

So, we introduce a new macro for all Xe platforms, currently only used
for the specific use case of TBIMR calculations. We can add more such
macros for future platforms, as needed.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28942>
2024-06-06 23:57:52 +00:00
..
amd radv/rt: Fix memory leak when compiling libraries 2024-06-06 21:56:11 +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 broadcom/compiler: handle load_workgroup_size 2024-06-06 12:01:00 +00:00
c11
compiler glsl: add support for glsl es 310/320 to standalone compiler 2024-06-04 23:01:49 +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: remove duplicated line from skips 2024-05-31 07:36:59 -07:00
freedreno turnip/ci: add a750 flakes seen in the latest nightly 2024-06-06 10:47:53 +00:00
gallium intel/isl: Add and use ISL_MAIN_TO_CCS_SIZE_RATIO_XE 2024-06-06 23:57:52 +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 intel/isl: Add and use ISL_MAIN_TO_CCS_SIZE_RATIO_XE 2024-06-06 23:57:52 +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: fix stack overflow related to the new mipmap code 2024-06-06 15:06:12 +00:00
microsoft dozen: Advertise VK_EXT_shader_replicated_composites 2024-06-04 16:34:48 +00:00
nouveau nvk: Only enable WSI modifiers if the extension is supported. 2024-06-06 02:15:36 +00:00
panfrost panvk: Move vkCmd*Event functions to their own file 2024-06-06 06:47:44 +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 venus: defer qfb buffer init upon query being used 2024-06-04 22:39:30 +00:00
vulkan vulkan: Update XML and headers to 1.3.286 2024-06-04 16:34:48 +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