OSDN Git Service

drm/amdgpu: Increase tlb flush timeout for sriov
authorDusica Milinkovic <Dusica.Milinkovic@amd.com>
Wed, 10 Aug 2022 07:43:15 +0000 (09:43 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2022 22:08:01 +0000 (18:08 -0400)
commit373008bfc9cdb0f050258947fa5a095f0657e1bc
tree278baab3894db3d0ce8254c353aacbaf131ad15d
parentc7dafdfa90f708b6e4630abf824ba388a3947400
drm/amdgpu: Increase tlb flush timeout for sriov

[Why]
During multi-vf executing benchmark (Luxmark) observed kiq error timeout.
It happenes because all of VFs do the tlb invalidation at the same time.
Although each VF has the invalidate register set, from hardware side
the invalidate requests are queue to execute.

[How]
In case of 12 VF increase timeout on 12*100ms

Signed-off-by: Dusica Milinkovic <Dusica.Milinkovic@amd.com>
Acked-by: Shaoyun Liu <shaoyun.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c