]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
radeon/audio: removed unnecessary CRC control programing
authorSlava Grigorev <slava.grigorev@amd.com>
Mon, 8 Dec 2014 21:41:45 +0000 (16:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Jan 2015 15:42:13 +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

index c5f8d5d449e8ef344fd081ea0bcd5bfd8756eecd..e96dd35fe59e50f506a19913016adf758b0a8fd0 100644 (file)
@@ -227,9 +227,6 @@ void dce3_1_hdmi_setmode(struct drm_encoder *encoder, struct drm_display_mode *m
 
        radeon_audio_set_dto(encoder, mode->clock);
        radeon_audio_set_vbi_packet(encoder);
-
-       WREG32(HDMI0_AUDIO_CRC_CONTROL + offset, 0x1000);
-
        radeon_hdmi_set_color_depth(encoder);
 
        if (ASIC_IS_DCE32(rdev)) {
index 44ae355f566902c47951f0d5ff40aef6d2302f9f..454f656a79d00ec711acec09b8fef11520976753 100644 (file)
@@ -365,9 +365,6 @@ void evergreen_hdmi_setmode(struct drm_encoder *encoder, struct drm_display_mode
 
        radeon_audio_set_dto(encoder, mode->clock);
        radeon_audio_set_vbi_packet(encoder);
-
-       WREG32(AFMT_AUDIO_CRC_CONTROL + offset, 0x1000);
-
        radeon_hdmi_set_color_depth(encoder);
 
        WREG32(HDMI_INFOFRAME_CONTROL0 + offset,