Commit 7ac897b5 authored by Charlene Liu's avatar Charlene Liu Committed by Alex Deucher

drm/amd/display: HDMI has no sound after Panel power off/on

Signed-off-by: default avatarCharlene Liu <charlene.liu@amd.com>
Reviewed-by: default avatarKrunoslav Kovac <Krunoslav.Kovac@amd.com>
Acked-by: default avatarHarry Wentland <harry.wentland@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5ebfb7a5
...@@ -718,6 +718,8 @@ static void dce110_stream_encoder_update_hdmi_info_packets( ...@@ -718,6 +718,8 @@ static void dce110_stream_encoder_update_hdmi_info_packets(
if (info_frame->avi.valid) { if (info_frame->avi.valid) {
const uint32_t *content = const uint32_t *content =
(const uint32_t *) &info_frame->avi.sb[0]; (const uint32_t *) &info_frame->avi.sb[0];
/*we need turn on clock before programming AFMT block*/
REG_UPDATE(AFMT_CNTL, AFMT_AUDIO_CLOCK_EN, 1);
REG_WRITE(AFMT_AVI_INFO0, content[0]); REG_WRITE(AFMT_AVI_INFO0, content[0]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment