drm/radeon: use the reset mask to determine if rings are hung
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 24 Jan 2013 16:37:19 +0000 (11:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Jan 2013 21:24:57 +0000 (16:24 -0500)
commit123bc1832c33218dfa677a88c2c54bc1a48a9e72
tree5ad2423f6e4752d7db0120b8ecb4af6a83a00df2
parentf770d78ac159a96071e3c4e4ab97c262e79506d3
drm/radeon: use the reset mask to determine if rings are hung

fetch the reset mask and check if the relevant ring flags
are set to determine whether the ring is hung or not.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/si.c