]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: limit the number of IVs processed at once
authorChristian König <christian.koenig@amd.com>
Tue, 5 Mar 2019 14:13:52 +0000 (15:13 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:58 +0000 (15:36 -0500)
commit64b51c2952f57ae062f4a139007bb86b880ceddf
tree5a035d343cd25b005df4abb8543297e7e3cb6222
parent20169a5a5077dde7c68f92141ceb46d007fa543d
drm/amdgpu: limit the number of IVs processed at once

Only process a maximum of 32 IVs before writing back the RPTR. This improves
hw handling when we get close to an overflow in the ring buffer.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h