]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d97fe540d560befee29a56b3cb6f921319b2893
tree278baab3894db3d0ce8254c353aacbaf131ad15d
parent6342d2151ec7a38405e26c54cf5a2104e10f94d9
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