drm/radeon: rework and fix reset detection v2
authorChristian König <christian.koenig@amd.com>
Tue, 29 Oct 2013 19:14:47 +0000 (20:14 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Nov 2013 19:25:51 +0000 (15:25 -0400)
Stop fiddling with jiffies, always wait for RADEON_FENCE_JIFFIES_TIMEOUT.
Consolidate the two wait sequence implementations into just one function.
Activate all waiters and remember if the reset was already done instead of
trying to reset from only one thread.

v2: clear reset flag earlier to avoid timeout in IB test

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

No differences found