]> 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)
commitdb211fc14b05dc8e93cb52e50da7486f2fe5a5d7
tree278baab3894db3d0ce8254c353aacbaf131ad15d
parentbf6adbc5e84faca086468e6026a2b1015ad22a61
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