mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02:00
Revert "drm/amdgpu: fix incorrect vm flags to map bo"
commit ac4ed2da4c1305a1a002415058aa7deaf49ffe3e upstream. 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) Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4338b0f654
commit
67334c94b8
|
@ -93,8 +93,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,
|
r = amdgpu_vm_bo_map(adev, *bo_va, csa_addr, 0, size,
|
||||||
AMDGPU_VM_PAGE_READABLE | AMDGPU_VM_PAGE_WRITEABLE |
|
AMDGPU_PTE_READABLE | AMDGPU_PTE_WRITEABLE |
|
||||||
AMDGPU_VM_PAGE_EXECUTABLE);
|
AMDGPU_PTE_EXECUTABLE);
|
||||||
|
|
||||||
if (r) {
|
if (r) {
|
||||||
DRM_ERROR("failed to do bo_map on static CSA, err=%d\n", r);
|
DRM_ERROR("failed to do bo_map on static CSA, err=%d\n", r);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user