]> 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>
Thu, 28 Aug 2025 14:28:30 +0000 (16:28 +0200)
commit1b6310d14b1311a5a9b43b30bba80e11dbfe786f
treed7b7100bd636353ef5f319c893e6435f96b0fa75
parent3fbc2e43ab127c1db3b5ef4a7d916347c701a2ba
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