]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amdgpu: change non-dcc buffer copy configuration
authorFrank Min <Frank.Min@amd.com>
Fri, 2 Aug 2024 03:15:11 +0000 (11:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Aug 2024 22:21:05 +0000 (18:21 -0400)
commit5d687a67fda6389b9214815aa0d0adcc44302dc5
tree910ce89e2880873cd54fbe517749e22d7e160fd5
parent829798c789f567ef6ba4b084c15b7b5f3bd98d51
drm/amdgpu: change non-dcc buffer copy configuration

Without setting cpv bit and 7th ib dw, non-dcc buffer copy will have
random corruption

So set the cpv bit and clear the 7th ib dw for copy non-dcc buffers

Signed-off-by: Frank Min <Frank.Min@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 5aacf8917fde5bc2a640f3cd49130c0e2e85e726)
drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c