diff options
author | 2025-08-25 13:40:22 -0400 | |
---|---|---|
committer | 2025-08-27 14:00:38 -0400 | |
commit | ac4ed2da4c1305a1a002415058aa7deaf49ffe3e (patch) | |
tree | 124dcc04035ba43afe887db13bbe0a1503b14682 | |
parent | drm/amdgpu/gfx12: set MQD as appriopriate for queue types (diff) | |
download | wireguard-linux-ac4ed2da4c1305a1a002415058aa7deaf49ffe3e.tar.xz wireguard-linux-ac4ed2da4c1305a1a002415058aa7deaf49ffe3e.zip |
Revert "drm/amdgpu: fix incorrect vm flags to map bo"
This reverts commit b08425fa77ad2f305fe57a33dceb456be03b653f.
Revert this to align with 6.17 because the fixes tag
was wrong on this commit.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit be33e8a239aac204d7e9e673c4220ef244eb1ba3)
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c index dfb6cfd83760..02138aa55793 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c @@ -88,8 +88,8 @@ int amdgpu_map_static_csa(struct amdgpu_device *adev, struct amdgpu_vm *vm, } r = amdgpu_vm_bo_map(adev, *bo_va, csa_addr, 0, size, - AMDGPU_VM_PAGE_READABLE | AMDGPU_VM_PAGE_WRITEABLE | - AMDGPU_VM_PAGE_EXECUTABLE); + AMDGPU_PTE_READABLE | AMDGPU_PTE_WRITEABLE | + AMDGPU_PTE_EXECUTABLE); if (r) { DRM_ERROR("failed to do bo_map on static CSA, err=%d\n", r); |