]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Aug 2025 16:36:27 +0000 (18:36 +0200)
commit196f3d61521cd74ea0efea06b8ab036df709fb29
tree702b180e7a908451c88933eb1372c03f6d3c43c1
parentef85f16cbc222902e2124e279899ff05e2a52759
drm/amdgpu: fix incorrect vm flags to map bo

[ Upstream commit 040bc6d0e0e9c814c9c663f6f1544ebaff6824a8 ]

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)
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c