iris: Flush untyped dataport cache when HDC flush is requested on compute
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 15 May 2023 18:53:03 +0000 (14:53 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 27 Jun 2023 20:56:28 +0000 (20:56 +0000)
commit46e1a2b31e04ebd02c3471308521f39335c0c173
tree9d8ac3a22d3049b59d3415270bb4286871fef62b
parenta4f1c926888aec08ed1de22ae7a9a53d33d7e0b5
iris: Flush untyped dataport cache when HDC flush is requested on compute

In the Intel(R) Arc(tm) A-Series Graphics and Intel Data Center GPU
Flex Series Open-Source Programmer's Reference Manual, Vol 2a: Command
Reference: Instructions, PIPE_CONTROL, HDC Pipeline Flush (DWord 0,
Bit 9), there is a programming note:

> When the "Pipeline Select" mode is set to "GPGPU", the LSC Untyped
> L1 cache flush is controlled by "Untyped Data-Port Cache Flush" bit
> in the PIPE_CONTROL command.

Ref: bd8e8d204db ("iris: Add missing untyped data port flush on PIPELINE_SELECT")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23176>
src/gallium/drivers/iris/iris_state.c