drm/amdgpu: Increase timout on emulator to tenfold instead of twice
authorYong Zhao <Yong.Zhao@amd.com>
Wed, 26 Feb 2020 00:54:53 +0000 (19:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Feb 2020 19:21:03 +0000 (14:21 -0500)
commit8bdab6bb1cf120f6978fd74ad5b298e2ab83e3aa
tree2782c76a5f9c209277d96ab4026e436bbb39fda5
parent7af8bc5016d971b1b1e38e73b2b98cc1b703ca07
drm/amdgpu: Increase timout on emulator to tenfold instead of twice

Since emulators are slower, sometime some operations like flushing tlb
through FM need more than twice the regular timout of 100ms, so increase
the timeout to 1s on emulators.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c