aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0804-drm-amd-amdgpu-Enabling-DAL-for-Bonaire-ASICs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0804-drm-amd-amdgpu-Enabling-DAL-for-Bonaire-ASICs.patch')
-rw-r--r--common/recipes-kernel/linux/files/0804-drm-amd-amdgpu-Enabling-DAL-for-Bonaire-ASICs.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0804-drm-amd-amdgpu-Enabling-DAL-for-Bonaire-ASICs.patch b/common/recipes-kernel/linux/files/0804-drm-amd-amdgpu-Enabling-DAL-for-Bonaire-ASICs.patch
new file mode 100644
index 00000000..2c962afc
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0804-drm-amd-amdgpu-Enabling-DAL-for-Bonaire-ASICs.patch
@@ -0,0 +1,30 @@
+From 083fb4b9ef2c0a7eb7bad1bfc3d022bae9f99d7a Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Wed, 17 Feb 2016 11:46:16 -0500
+Subject: [PATCH 0804/1110] drm/amd/amdgpu: Enabling DAL for Bonaire ASICs
+
+Signed-off-by: Harry Wentland <harry.wentland@amd.com>
+Reviewed-by: Jordan Lazare <Jordan.Lazare@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+index 4b1d404..83d02c6 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+@@ -1389,6 +1389,11 @@ static int amdgpu_resume(struct amdgpu_device *adev)
+ bool amdgpu_device_has_dal_support(struct amdgpu_device *adev)
+ {
+ switch(adev->asic_type) {
++#if defined(CONFIG_DRM_AMD_DAL) && defined(CONFIG_DRM_AMD_DAL_DCE8_0)
++ case CHIP_BONAIRE:
++ case CHIP_HAWAII:
++ return amdgpu_dal != 0;
++#endif
+ #if defined(CONFIG_DRM_AMD_DAL) && defined(CONFIG_DRM_AMD_DAL_DCE11_0)
+ case CHIP_CARRIZO:
+ return amdgpu_dal != 0;
+--
+2.7.4
+