]> 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)
commitc1a9519d4165ded17c86753a53691088abb6b44e
tree5a035d343cd25b005df4abb8543297e7e3cb6222
parent89058f292e90950daeb827cc3861d163e8663f08
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