radeon/audio: removed unnecessary debug settings
authorSlava Grigorev <slava.grigorev@amd.com>
Tue, 9 Dec 2014 22:32:37 +0000 (17:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Jan 2015 15:42:16 +0000 (10:42 -0500)
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Slava Grigorev <slava.grigorev@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/dce3_1_afmt.c
drivers/gpu/drm/radeon/evergreen_hdmi.c
drivers/gpu/drm/radeon/r600_hdmi.c

index 07869ca8125d5484d948f7ea2f28ea088d014e33..cbd07f5f276ab45dbeae41f0c0f04ddbdf93f630 100644 (file)
@@ -266,12 +266,6 @@ void dce3_1_hdmi_setmode(struct drm_encoder *encoder, struct drm_display_mode *m
        if (radeon_audio_set_avi_packet(encoder, mode) < 0)
                return;
 
-       /* it's unknown what these bits do excatly, but it's indeed quite useful for debugging */
-       WREG32(HDMI0_RAMP_CONTROL0 + offset, 0x00FFFFFF);
-       WREG32(HDMI0_RAMP_CONTROL1 + offset, 0x007FFFFF);
-       WREG32(HDMI0_RAMP_CONTROL2 + offset, 0x00000001);
-       WREG32(HDMI0_RAMP_CONTROL3 + offset, 0x00000001);
-
        r600_hdmi_audio_workaround(encoder);
 
        /* enable audio after to setting up hw */
index e240586ac42ef2a0e77cd8b0099868148578133e..84a000d361e688c342908871e6448459a797b01c 100644 (file)
@@ -435,12 +435,6 @@ void evergreen_hdmi_setmode(struct drm_encoder *encoder, struct drm_display_mode
        if (radeon_audio_set_avi_packet(encoder, mode) < 0)
                return;
 
-       /* it's unknown what these bits do excatly, but it's indeed quite useful for debugging */
-       WREG32(AFMT_RAMP_CONTROL0 + offset, 0x00FFFFFF);
-       WREG32(AFMT_RAMP_CONTROL1 + offset, 0x007FFFFF);
-       WREG32(AFMT_RAMP_CONTROL2 + offset, 0x00000001);
-       WREG32(AFMT_RAMP_CONTROL3 + offset, 0x00000001);
-
        /* enable audio after to setting up hw */
        radeon_audio_enable(rdev, dig->afmt->pin, 0xf);
 }
index 8955efa01514a9da6250f8c519cb0262ba7d6fe6..0f90d70537e95a2b28ae4eb5f0022c5fc9a8b618 100644 (file)
@@ -433,12 +433,6 @@ void r600_hdmi_setmode(struct drm_encoder *encoder, struct drm_display_mode *mod
        if (radeon_audio_set_avi_packet(encoder, mode) < 0)
                return;
 
-       /* it's unknown what these bits do excatly, but it's indeed quite useful for debugging */
-       WREG32(HDMI0_RAMP_CONTROL0 + offset, 0x00FFFFFF);
-       WREG32(HDMI0_RAMP_CONTROL1 + offset, 0x007FFFFF);
-       WREG32(HDMI0_RAMP_CONTROL2 + offset, 0x00000001);
-       WREG32(HDMI0_RAMP_CONTROL3 + offset, 0x00000001);
-
        /* enable audio after to setting up hw */
        radeon_audio_enable(rdev, dig->afmt->pin, 0xf);
 }