]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/sriov: give 8s for recover vram under RUNTIME
authorEmily Deng <Emily.Deng@amd.com>
Thu, 9 Aug 2018 02:03:04 +0000 (10:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Aug 2018 16:59:17 +0000 (11:59 -0500)
commit6747622d21e23fb40029786b9c579cda5d83e920
treeb7233e6e2d183ecd976dc928a7b9d3516d57e534
parenta22b7de9902a188004fb56bfe2a21917dfc30805
drm/amdgpu/sriov: give 8s for recover vram under RUNTIME

Extend the timeout for recovering vram bos from shadows on sr-iov
to cover the worst case scenario for timeslices and VFs

Under runtime, the wait fence time could be quite long when
other VFs are in exclusive mode. For example, for 4 VF, every
VF's exclusive timeout time is set to 3s, then the worst case is
9s. If the VF number is more than 4,then the worst case time will
be longer.
The 8s is the test data, with setting to 8s, it will pass the TDR
test for 1000 times.

SWDEV-161490

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c