diff options
| author | David Belanger <david.belanger@amd.com> | 2024-07-02 17:56:41 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-28 22:04:57 +0100 |
| commit | 7611d52371592041367fd88e5ad7c863e4ba9a63 (patch) | |
| tree | 1ab34d6308b225d7847c1e80636f7e410899c99f /include/net/aligned_data.h | |
| parent | aa8e2f3e6d1327991c412d8cba2477b8c1c084fa (diff) | |
drm/amdgpu: Restore uncached behaviour on GFX12
commit 35b6162bb790555ad56b7f0d120e307b8334d778 upstream.
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>
(cherry picked from commit eb6cdfb807d038d9b9986b5c87188f28a4071eae)
Cc: stable@vger.kernel.org # 6.12.x
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
