summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
diff options
context:
space:
mode:
authorCharlene Liu <charlene.liu@amd.com>2017-02-16 22:28:46 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:15:30 -0400
commit87b58768eccd311fdc7694c09966754d5ce90538 (patch)
treee9b67ecdd12a275e907012d667cb2c6ad2771661 /drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
parent185189dc51a5c968ce35b0e1f2b529736e789c9c (diff)
downloadlinux-87b58768eccd311fdc7694c09966754d5ce90538.tar.bz2
drm/amd/display: audio bug fix part 1: Add missing audio ACR
Signed-off-by: Charlene Liu <charlene.liu@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce/dce_audio.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_audio.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c b/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
index 2749c8fa4f1f..596e039ee315 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c
@@ -828,11 +828,9 @@ void dce_aud_wall_dto_setup(
REG_UPDATE(DCCG_AUDIO_DTO1_PHASE,
DCCG_AUDIO_DTO1_PHASE, clock_info.audio_dto_phase);
- /* DAL2 code separate DCCG_AUDIO_DTO_SEL and
- DCCG_AUDIO_DTO2_USE_512FBR_DTO programming into two different
- location. merge together should not hurt */
- /*value.bits.DCCG_AUDIO_DTO2_USE_512FBR_DTO = 1;
- dal_write_reg(mmDCCG_AUDIO_DTO_SOURCE, value);*/
+ REG_UPDATE(DCCG_AUDIO_DTO_SOURCE,
+ DCCG_AUDIO_DTO2_USE_512FBR_DTO, 1);
+
}
}