]> 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>
Tue, 6 Aug 2024 15:11:02 +0000 (11:11 -0400)
commit5aacf8917fde5bc2a640f3cd49130c0e2e85e726
tree5d5c8eb6447a542f98ce5ce768a5df6835e8b239
parentb3a3c9a6b27b68310f1d4d486f47556808c7c855
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>
drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c