summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorDavid Belanger <david.belanger@amd.com>2024-07-03 00:56:41 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-03-14 06:18:02 +0300
commiteb6cdfb807d038d9b9986b5c87188f28a4071eae (patch)
treeebd7455143552b3921f42eea0a6dc493fa387e0b /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentebdc52607a46cda08972888178c6aa9cd6965141 (diff)
downloadlinux-eb6cdfb807d038d9b9986b5c87188f28a4071eae.tar.xz
drm/amdgpu: Restore uncached behaviour on GFX12
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 <david.belanger@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions