OSDN Git Service

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)
commit006cc1a213cf9ff3d1307ff2d5c51e6c8d62a758
treef7044850c5b01616008f9d6dc3155280a30ff8b6
parentef4dd6b2757e4f047b3d9fd38f13eb576d30ba83
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