summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/r300.c
diff options
context:
space:
mode:
authorChristian König <deathsimple@vodafone.de>2012-05-02 15:11:24 +0200
committerDave Airlie <airlied@redhat.com>2012-05-03 09:16:40 +0100
commit8ba957b5b69dd107fa6056094416954d0b6e27c1 (patch)
treed633b744767222e4840db3cb77cb6fe07e1e5659 /drivers/gpu/drm/radeon/r300.c
parent7b9ef16bd187b7e7f43887afb393d1f89e5bee71 (diff)
downloadblackbird-op-linux-8ba957b5b69dd107fa6056094416954d0b6e27c1.tar.gz
blackbird-op-linux-8ba957b5b69dd107fa6056094416954d0b6e27c1.zip
drm/radeon: remove r300_gpu_is_lockup
Since it is now identical to r100_gpu_is_lockup. Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r300.c')
-rw-r--r--drivers/gpu/drm/radeon/r300.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c
index 04ec26916db4..6419a5900e67 100644
--- a/drivers/gpu/drm/radeon/r300.c
+++ b/drivers/gpu/drm/radeon/r300.c
@@ -377,20 +377,6 @@ void r300_gpu_init(struct radeon_device *rdev)
rdev->num_gb_pipes, rdev->num_z_pipes);
}
-bool r300_gpu_is_lockup(struct radeon_device *rdev, struct radeon_ring *ring)
-{
- u32 rbbm_status;
-
- rbbm_status = RREG32(R_000E40_RBBM_STATUS);
- if (!G_000E40_GUI_ACTIVE(rbbm_status)) {
- radeon_ring_lockup_update(ring);
- return false;
- }
- /* force CP activities */
- radeon_ring_force_activity(rdev, ring);
- return radeon_ring_test_lockup(rdev, ring);
-}
-
int r300_asic_reset(struct radeon_device *rdev)
{
struct r100_mc_save save;
OpenPOWER on IntegriCloud