aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0768-drm-amd-dal-fix-azalia-audio-does-not-work-on-some-b.patch
blob: 0d94586a963822c25e629f91a144771d8ce5201a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From b6470ff3cf154a15bdfbfac7204f3de1840f881a Mon Sep 17 00:00:00 2001
From: Hersen Wu <hersenxs.wu@amd.com>
Date: Tue, 2 Feb 2016 12:36:40 -0500
Subject: [PATCH 0768/1110] drm/amd/dal: fix azalia audio does not work on some
 board configuration

Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Jordan Lazare <Jordan.Lazare@amd.com>
---
 drivers/gpu/drm/amd/dal/dc/audio/dce110/hw_ctx_audio_dce110.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/dal/dc/audio/dce110/hw_ctx_audio_dce110.c b/drivers/gpu/drm/amd/dal/dc/audio/dce110/hw_ctx_audio_dce110.c
index f24b964..50f2e66 100644
--- a/drivers/gpu/drm/amd/dal/dc/audio/dce110/hw_ctx_audio_dce110.c
+++ b/drivers/gpu/drm/amd/dal/dc/audio/dce110/hw_ctx_audio_dce110.c
@@ -52,7 +52,9 @@ static const uint32_t engine_offset[] = {
 	0,
 	mmDIG1_DIG_FE_CNTL - mmDIG0_DIG_FE_CNTL,
 	mmDIG2_DIG_FE_CNTL - mmDIG0_DIG_FE_CNTL,
-	mmDIG3_DIG_FE_CNTL - mmDIG0_DIG_FE_CNTL
+	mmDIG3_DIG_FE_CNTL - mmDIG0_DIG_FE_CNTL,
+	mmDIG4_DIG_FE_CNTL - mmDIG0_DIG_FE_CNTL,
+	mmDIG5_DIG_FE_CNTL - mmDIG0_DIG_FE_CNTL
 };
 
 static void destruct(
-- 
2.7.4