aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0787-drm-amd-amdgpu-Fall-back-to-non-dal-driver-on-Bonair.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0787-drm-amd-amdgpu-Fall-back-to-non-dal-driver-on-Bonair.patch')
-rw-r--r--common/recipes-kernel/linux/files/0787-drm-amd-amdgpu-Fall-back-to-non-dal-driver-on-Bonair.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0787-drm-amd-amdgpu-Fall-back-to-non-dal-driver-on-Bonair.patch b/common/recipes-kernel/linux/files/0787-drm-amd-amdgpu-Fall-back-to-non-dal-driver-on-Bonair.patch
new file mode 100644
index 00000000..be38bb86
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0787-drm-amd-amdgpu-Fall-back-to-non-dal-driver-on-Bonair.patch
@@ -0,0 +1,34 @@
+From 583d7a302b73be5fe65ec359dfc9f12eca9928c2 Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Tue, 9 Feb 2016 16:19:06 -0500
+Subject: [PATCH 0787/1110] drm/amd/amdgpu: Fall back to non-dal driver on
+ Bonaire
+
+Since DAL support for Bonaire isn't ready yet don't try
+to enable DAL for Bonaire yet.
+
+Signed-off-by: Harry Wentland <harry.wentland@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+index 3de29d9..aba8b80 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+@@ -1389,11 +1389,6 @@ 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 true;
+-#endif
+ #if defined(CONFIG_DRM_AMD_DAL) && defined(CONFIG_DRM_AMD_DAL_DCE11_0)
+ case CHIP_CARRIZO:
+ return true;
+--
+2.7.4
+