diff mbox

[Bug,16376] random - possibly Radeon DRM KMS related - freezes

Message ID 201008231422.o7NEMbYL029427@demeter1.kernel.org (mailing list archive)
State New, archived
Headers show

Commit Message

bugzilla-daemon@bugzilla.kernel.org Aug. 23, 2010, 2:22 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
index c0c5cef..7d9cc47 100644
--- a/drivers/gpu/drm/radeon/r100.c
+++ b/drivers/gpu/drm/radeon/r100.c
@@ -1996,6 +1996,8 @@  bool r100_gpu_is_lockup(struct radeon_device *rdev)
        u32 rbbm_status;
        int r;

+       return false;
+
        rbbm_status = RREG32(R_000E40_RBBM_STATUS);
        if (!G_000E40_GUI_ACTIVE(rbbm_status)) {
                r100_gpu_lockup_update(&rdev->config.r100.lockup, &rdev->cp);
diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c
index 3ba05d0..176f791 100644
--- a/drivers/gpu/drm/radeon/r300.c
+++ b/drivers/gpu/drm/radeon/r300.c
@@ -384,6 +384,8 @@  bool r300_gpu_is_lockup(struct radeon_device *rdev)
        u32 rbbm_status;
        int r;

+       return false;
+
        rbbm_status = RREG32(R_000E40_RBBM_STATUS);
        if (!G_000E40_GUI_ACTIVE(rbbm_status)) {
                r100_gpu_lockup_update(&rdev->config.r300.lockup, &rdev->cp);
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
index 667c237..bba86d5 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -1345,6 +1345,8 @@  bool r600_gpu_is_lockup(struct radeon_device *rdev)
        u32 grbm_status2;
        int r;

+       return false;
+
        srbm_status = RREG32(R_000E50_SRBM_STATUS);
        grbm_status = RREG32(R_008010_GRBM_STATUS);
        grbm_status2 = RREG32(R_008014_GRBM_STATUS2);