summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Grigorev <slava.grigorev@amd.com>2014-12-09 00:41:45 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-01-22 18:42:13 +0300
commit8ffea8570d5a7e9dd3c10349ebc3bd79487ae30b (patch)
treec7e6dbeda8adb38062b9d62df58671c705eaa34e
parentbe273e58f00f75c750fd0ece8f0d7c3cfb36c88e (diff)
downloadlinux-8ffea8570d5a7e9dd3c10349ebc3bd79487ae30b.tar.xz
radeon/audio: removed unnecessary CRC control programing
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>
-rw-r--r--drivers/gpu/drm/radeon/dce3_1_afmt.c3
-rw-r--r--drivers/gpu/drm/radeon/evergreen_hdmi.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/radeon/dce3_1_afmt.c b/drivers/gpu/drm/radeon/dce3_1_afmt.c
index c5f8d5d449e8..e96dd35fe59e 100644
--- a/drivers/gpu/drm/radeon/dce3_1_afmt.c
+++ b/drivers/gpu/drm/radeon/dce3_1_afmt.c
@@ -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)) {
diff --git a/drivers/gpu/drm/radeon/evergreen_hdmi.c b/drivers/gpu/drm/radeon/evergreen_hdmi.c
index 44ae355f5669..454f656a79d0 100644
--- a/drivers/gpu/drm/radeon/evergreen_hdmi.c
+++ b/drivers/gpu/drm/radeon/evergreen_hdmi.c
@@ -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,