aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/1025-drm-amdgpu-add-missing-case-for-ST-in-audio-init.patch
blob: d6d616e4e0b6ba6ded5a30a91017ef4c5df8c341 (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
From 1c44710310c2b1346df22f092902f06ae37187a7 Mon Sep 17 00:00:00 2001
From: Alex Deucher <alexander.deucher@amd.com>
Date: Mon, 18 Apr 2016 18:14:43 -0400
Subject: [PATCH 1025/1110] drm/amdgpu: add missing case for ST in audio init

Otherwise, we fail to init modesetting.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
---
 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
index 6a2c77d..9c7ea3c 100644
--- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.c
@@ -1608,6 +1608,7 @@ static int dce_v11_0_audio_init(struct amdgpu_device *adev)
 
 	switch (adev->asic_type) {
 	case CHIP_CARRIZO:
+	case CHIP_STONEY:
 		adev->mode_info.audio.num_pins = 7;
 		break;
 	case CHIP_POLARIS10:
-- 
2.7.4