drm/radeon: make radeon_gpu_is_lockup a per ring function
authorChristian König <deathsimple@vodafone.de>
Wed, 2 May 2012 13:11:09 +0000 (15:11 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 3 May 2012 08:16:01 +0000 (09:16 +0100)
commit312c4a8cf29af451ad0b58a5760150e496b7ffb8
treed6b91a31ad9a954db50057d231470b326f78cc41
parent87438494152a9313ee56b8a0026ad5e6e87c5972
drm/radeon: make radeon_gpu_is_lockup a per ring function

Different rings have different criteria to test
if they are stuck.

v2: rebased on current drm-next

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_fence.c