[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180422135111.284793502@linuxfoundation.org>
Date: Sun, 22 Apr 2018 15:52:36 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
stable@...r.kernel.org, Charlene Liu <charlene.liu@....com>,
Krunoslav Kovac <Krunoslav.Kovac@....com>,
Harry Wentland <harry.wentland@....com>,
Alex Deucher <alexander.deucher@....com>
Subject: [PATCH 4.16 136/196] drm/amd/display: HDMI has no sound after Panel power off/on
4.16-stable review patch. If anyone has any objections, please let me know.
------------------
From: Charlene Liu <charlene.liu@....com>
commit af2ac326087da632e9580f65205f4cc4205caf85 upstream.
Signed-off-by: Charlene Liu <charlene.liu@....com>
Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@....com>
Acked-by: Harry Wentland <harry.wentland@....com>
Cc: stable@...r.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@....com>
Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
---
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
@@ -736,6 +736,8 @@ static void dce110_stream_encoder_update
if (info_frame->avi.valid) {
const uint32_t *content =
(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]);
Powered by blists - more mailing lists