drm/radeon: disable audio format interrupts on Evergreen
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Apr 2013 13:42:13 +0000 (09:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Apr 2013 14:39:15 +0000 (10:39 -0400)
The audio format change interrupts are an aid in debugging,
but not required for operation.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/r600_hdmi.c

index e419b98b0c4784e39d1c8ac27adaa70d07accbd5..95397b215701217c0f1bcc27cbfa56ab052a2074 100644 (file)
@@ -461,7 +461,9 @@ void r600_hdmi_enable(struct drm_encoder *encoder)
 
        if (rdev->irq.installed) {
                /* if irq is available use it */
-               radeon_irq_kms_enable_afmt(rdev, dig->afmt->id);
+               /* XXX: shouldn't need this on any asics.  Double check DCE2/3 */
+               if (!ASIC_IS_DCE4(rdev))
+                       radeon_irq_kms_enable_afmt(rdev, dig->afmt->id);
        }
 
        dig->afmt->enabled = true;