mesa/src
Kenneth Graunke 1b3669a1ed intel: Initialize FF_MODE2 on all Gfx12 platforms
On Alchemist, the FF_MODE2 documentation says that we must set the
FF_MODE2 timer values for GS and HS to 224.  The hardware performance
tuning guide also recommends setting the TDS timer to 4.

On Tigerlake, i915 applies workarounds to set the GS timer to 224
(failing to do so can cause HS/DS unit hangs), and the TDS timer to 4
(for performance).  It doesn't currently apply a HS timer there, and
I'm not sure if it's strictly necessary, but given that Alchemist
needed it, and the other two settings matched, let's assume that it
ought to match as well.

Unfortunately, there has been a bug in the i915 workarounds
infrastructure for non-masked context registers where writing one
field of the register zeroes out all the others.  So, I believe the
Tigerlake TDS timer value of 4 isn't being applied correctly there,
though the register is also not readable on that platform which
makes it hard to verify.  So, this may also speed up tessellation.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9233
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23839>
2023-06-24 01:20:36 +00:00
..
amd amd/drm-shim: use fixed-width types 2023-06-23 18:35:52 +00:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi agx: Implement vector live range splitting 2023-06-23 17:37:41 +00:00
broadcom v3d: clear alpha-only as red-only 2023-06-20 07:45:31 +00:00
c11 util: Fixes prototype of threads_timespec_compare 2023-06-21 06:18:40 +00:00
compiler nir: Add discard_agx intrinsic 2023-06-23 17:37:41 +00:00
drm-shim drm-shim: Avoid assertion fail if someone does close(-1). 2023-06-01 01:50:41 +00:00
egl Revert "egl: return correct error for EGL_KHR_image_pixmap" 2023-06-23 06:50:08 +00:00
etnaviv ci/etnaviv: update ci expectation 2023-06-22 13:15:44 +00:00
freedreno ci/fastboot: use gzipped Image to avoid compressing on the runner 2023-06-23 20:47:53 +00:00
gallium intel: Initialize FF_MODE2 on all Gfx12 platforms 2023-06-24 01:20:36 +00:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx Revert "glx: Remove pointless GLX_INTEL_swap_event paranoia" 2023-06-12 15:35:45 +00:00
gtest gtest: Update to 1.13.0 2023-05-14 11:09:02 +00:00
imagination pvr: Correctly read dynamic state setup during blend constant setup 2023-06-23 15:38:43 +00:00
imgui
intel intel: Initialize FF_MODE2 on all Gfx12 platforms 2023-06-24 01:20:36 +00:00
loader dri3: only invalidate drawables on geometry change if geometry has changed 2023-06-15 12:22:24 +00:00
mapi mapi: Fixes non-constant-expression cannot be narrowed from type 'unsigned long' to 'unsigned int' in initializer list with clang 2023-06-22 11:08:11 +00:00
mesa util: reinstate ENUM_PACKED 2023-06-21 21:51:59 +00:00
microsoft dzn: Align placed footprints used when copying linear <-> optimal for BC formats 2023-06-22 00:57:20 +00:00
nouveau compiler: Move from nir_scope to mesa_scope 2023-06-19 23:29:26 +00:00
panfrost ci/panfrost: switch panfrost-g52-piglit-gles2 from X to XWayland 2023-06-22 10:27:38 +00:00
tool meson: remove needless c++17-overrides 2023-05-19 12:45:31 +00:00
util util/blake3: Add blake3_hash typedef. 2023-06-23 09:28:04 +00:00
virtio venus: Fix detection of push descriptor set 2023-06-22 20:37:01 +00:00
vulkan vulkan: Migrate shader module hash to BLAKE3. 2023-06-23 09:28:04 +00:00
.clang-format treewide: Add a .clang-format file 2023-05-29 21:06:12 +00:00
meson.build hgl: remove 2023-02-18 00:44:43 +00:00