Commit be33e8a2 authored by Alex Deucher's avatar Alex Deucher
Browse files

Revert "drm/amdgpu: fix incorrect vm flags to map bo"



This reverts commit b08425fa.

Revert this to align with 6.17 because the fixes tag
was wrong on this commit.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6b34e7ed
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);