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.
>
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