aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0800-drm-amd-dal-fix-some-missing-hawaii-cases-in-dm.patch
blob: a7371831a90917cd3581f0c90971371b73b0ccc9 (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
31
32
33
34
35
36
37
38
From 1563050ee19a3f88d6df42250badd5b873a7e5f5 Mon Sep 17 00:00:00 2001
From: Alex Deucher <alexander.deucher@amd.com>
Date: Thu, 18 Feb 2016 15:20:27 -0500
Subject: [PATCH 0800/1110] drm/amd/dal: fix some missing hawaii cases in dm
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c
index 7a7f69e..5b65986 100644
--- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm.c
@@ -1218,6 +1218,7 @@ int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)
 	/* Software is initialized. Now we can register interrupt handlers. */
 	switch (adev->asic_type) {
 	case CHIP_BONAIRE:
+	case CHIP_HAWAII:
 	case CHIP_TONGA:
 	case CHIP_FIJI:
 	case CHIP_CARRIZO:
@@ -1433,6 +1434,7 @@ static int dm_early_init(void *handle)
 
 	switch (adev->asic_type) {
 	case CHIP_BONAIRE:
+	case CHIP_HAWAII:
 		adev->mode_info.num_crtc = 6;
 		adev->mode_info.num_hpd = 6;
 		adev->mode_info.num_dig = 6;
-- 
2.7.4