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 19:45:43 +0000 (15:45 -0400)
commitbb3c846ad26e1c8551f68078278cbd437a20fb64
treec85ddd849f61c632e1df0594343bf2471b7904d9
parent7e5632cdf68b2d2d53ab9d39daf6a545c2ac2045
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