drm/amdgpu:kiq reg access need timeout(v2)
authorMonk Liu <Monk.Liu@amd.com>
Fri, 5 May 2017 21:30:50 +0000 (17:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:40:17 +0000 (17:40 -0400)
commitff82577a10f405e9e0426facdbdd303143146d9f
tree1fd13f4c0d719a4c33b94e2594cc3a01f130ec6e
parent2fdde9fa9705cb4df29445c2a4dd241b1e9c03f2
drm/amdgpu:kiq reg access need timeout(v2)

this is to prevent fence forever waiting if FLR occured
during register accessing.

v2:
use define instead of hardcode for the timeout msec

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c