diff options
| author | Charlene Liu <charlene.liu@amd.com> | 2018-04-06 23:03:12 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2018-04-11 14:16:10 -0400 |
| commit | af2ac326087da632e9580f65205f4cc4205caf85 (patch) | |
| tree | d5a04602687f0dcfc2c69121f84c551f7230ba3e /drivers | |
| parent | 1b59fb036a3e2a5bc4ce3d02c3fb473e595400c9 (diff) | |
drm/amd/display: HDMI has no sound after Panel power off/on
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c index 444558ca6533..162f6a6c4208 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c | |||
| @@ -735,6 +735,8 @@ static void dce110_stream_encoder_update_hdmi_info_packets( | |||
| 735 | if (info_frame->avi.valid) { | 735 | if (info_frame->avi.valid) { |
| 736 | const uint32_t *content = | 736 | const uint32_t *content = |
| 737 | (const uint32_t *) &info_frame->avi.sb[0]; | 737 | (const uint32_t *) &info_frame->avi.sb[0]; |
| 738 | /*we need turn on clock before programming AFMT block*/ | ||
| 739 | REG_UPDATE(AFMT_CNTL, AFMT_AUDIO_CLOCK_EN, 1); | ||
| 738 | 740 | ||
| 739 | REG_WRITE(AFMT_AVI_INFO0, content[0]); | 741 | REG_WRITE(AFMT_AVI_INFO0, content[0]); |
| 740 | 742 | ||
