]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: extend MAX_KIQ_REG_TRY to 1000
authorJiawei Gu <Jiawei.Gu@amd.com>
Fri, 5 Feb 2021 09:45:18 +0000 (17:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Feb 2021 20:48:49 +0000 (15:48 -0500)
commit2f843b7f7ea664e6c715bde94bce47119dc90264
treef7044850c5b01616008f9d6dc3155280a30ff8b6
parentd3c45ca9a946e05945fdce7c4cc5c06063ce93ca
drm/amdgpu: extend MAX_KIQ_REG_TRY to 1000

Extend retry times of KIQ to avoid starvation situation caused by
long time full access of GPU by other VFs.

Signed-off-by: Jiawei Gu <Jiawei.Gu@amd.com>
Reviewed-by: Emily.Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h