diff options
author | Slava Grigorev <slava.grigorev@amd.com> | 2014-12-08 22:41:45 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-01-22 16:42:13 +0100 |
commit | 8ffea8570d5a7e9dd3c10349ebc3bd79487ae30b (patch) | |
tree | c7e6dbeda8adb38062b9d62df58671c705eaa34e /drivers | |
parent | radeon: moved HDMI color depth programming to a separate function (diff) | |
download | linux-8ffea8570d5a7e9dd3c10349ebc3bd79487ae30b.tar.xz linux-8ffea8570d5a7e9dd3c10349ebc3bd79487ae30b.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/dce3_1_afmt.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen_hdmi.c | 3 |
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, |