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)
commit226dcfad349f23f7744d02b24f8ec3bc4f6198ac
tree797a827dc436f9e9ebc4e6d64142b0ba117f8a1d
parent09aef0258a327409bb2279a5ba8f82ad2ca099ca
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