aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/1397-drm-amdgpu-add-stoney-to-dal-check.patch
blob: a4f63c108641f96328a963d968b2d9ef07392b5f (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
From c27299a9ff34cb52181ba81d0a92de9244d4844c Mon Sep 17 00:00:00 2001
From: Alex Deucher <alexander.deucher@amd.com>
Date: Tue, 23 Feb 2016 18:05:41 -0500
Subject: [PATCH 1397/1565] drm/amdgpu: add stoney to dal check

This seems to have gotten lost at some point.

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

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 2073b95..8bb3711 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -1387,6 +1387,7 @@ bool amdgpu_device_has_dal_support(struct amdgpu_device *adev)
 #endif
 #if defined(CONFIG_DRM_AMD_DAL) && defined(CONFIG_DRM_AMD_DAL_DCE11_0)
 	case CHIP_CARRIZO:
+	case CHIP_STONEY:
 		return amdgpu_dal != 0;
 #endif
 #if defined(CONFIG_DRM_AMD_DAL) && defined(CONFIG_DRM_AMD_DAL_DCE10_0)
-- 
1.9.1