aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0311-drm-amdkfd-Add-dependency-of-DRM_AMDGPU-to-Kconfig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0311-drm-amdkfd-Add-dependency-of-DRM_AMDGPU-to-Kconfig.patch')
-rw-r--r--common/recipes-kernel/linux/files/0311-drm-amdkfd-Add-dependency-of-DRM_AMDGPU-to-Kconfig.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0311-drm-amdkfd-Add-dependency-of-DRM_AMDGPU-to-Kconfig.patch b/common/recipes-kernel/linux/files/0311-drm-amdkfd-Add-dependency-of-DRM_AMDGPU-to-Kconfig.patch
new file mode 100644
index 00000000..cc5cd4b9
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0311-drm-amdkfd-Add-dependency-of-DRM_AMDGPU-to-Kconfig.patch
@@ -0,0 +1,25 @@
+From bd72a72c3a0d3e188b08cdbbc54eb083d860e365 Mon Sep 17 00:00:00 2001
+From: Oded Gabbay <oded.gabbay@gmail.com>
+Date: Fri, 21 Nov 2014 23:27:30 +0200
+Subject: [PATCH 0311/1050] drm/amdkfd: Add dependency of DRM_AMDGPU to Kconfig
+
+Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
+---
+ drivers/gpu/drm/amd/amdkfd/Kconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdkfd/Kconfig b/drivers/gpu/drm/amd/amdkfd/Kconfig
+index 8dfac37..e13c67c 100644
+--- a/drivers/gpu/drm/amd/amdkfd/Kconfig
++++ b/drivers/gpu/drm/amd/amdkfd/Kconfig
+@@ -4,6 +4,6 @@
+
+ config HSA_AMD
+ tristate "HSA kernel driver for AMD GPU devices"
+- depends on DRM_RADEON && AMD_IOMMU_V2 && X86_64
++ depends on (DRM_RADEON || DRM_AMDGPU) && AMD_IOMMU_V2 && X86_64
+ help
+ Enable this if you want to use HSA features on AMD GPU devices.
+--
+1.9.1
+