Re: [PATCH] drm/amdgpu: Restore uncache behaviour on GFX12

2024-07-09 Thread Felix Kuehling
On 2024-07-08 17:41, David Belanger wrote: > Always use MTYPE_UC if UNCACHED flag is specified. > > This makes kernarg region uncached and it restores > usermode cache disable debug flag functionality. > > Do not set MTYPE_UC for COHERENT flag, on GFX12 coherence is handled by > shader code. >

[PATCH] drm/amdgpu: Restore uncache behaviour on GFX12

2024-07-08 Thread David Belanger
Always use MTYPE_UC if UNCACHED flag is specified. This makes kernarg region uncached and it restores usermode cache disable debug flag functionality. Do not set MTYPE_UC for COHERENT flag, on GFX12 coherence is handled by shader code. Signed-off-by: David Belanger --- drivers/gpu/drm/amd/amdg