]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Adjust MES polling timeout for sriov
authorYiqing Yao <yiqing.yao@amd.com>
Tue, 18 Oct 2022 07:17:59 +0000 (15:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Oct 2022 20:13:26 +0000 (16:13 -0400)
commitaaa79f35cc7bd71cfd44124f0ab2a3347626de25
tree797a827dc436f9e9ebc4e6d64142b0ba117f8a1d
parentf09863711f9ffda7c7dd0a6f75f123d68d2c8c79
drm/amdgpu: Adjust MES polling timeout for sriov

[why]
MES response time in sriov may be longer than default value
due to reset or init in other VF. A timeout value specific
to sriov is needed.

[how]
When in sriov, adjust the timeout value to calculated
worst case scenario.

Signed-off-by: Yiqing Yao <yiqing.yao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c