drm/amdgpu: fix incorrect vm flags to map bo
authorJack Xiao <Jack.Xiao@amd.com>
Mon, 11 Aug 2025 07:20:55 +0000 (15:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Aug 2025 20:08:04 +0000 (16:08 -0400)
commit040bc6d0e0e9c814c9c663f6f1544ebaff6824a8
tree3a2132f54fd3112ab461c7f5e1bea881cec671de
parent10ef476aad1c848449934e7bec2ab2374333c7b6
drm/amdgpu: fix incorrect vm flags to map bo

It should use vm flags instead of pte flags
to specify bo vm attributes.

Fixes: 7946340fa389 ("drm/amdgpu: Move csa related code to separate file")
Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit b08425fa77ad2f305fe57a33dceb456be03b653f)
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c