aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3378-drm-radeon-deprecate-and-remove-KFD-interface.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3378-drm-radeon-deprecate-and-remove-KFD-interface.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3378-drm-radeon-deprecate-and-remove-KFD-interface.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3378-drm-radeon-deprecate-and-remove-KFD-interface.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3378-drm-radeon-deprecate-and-remove-KFD-interface.patch
new file mode 100644
index 00000000..3e6ac2e4
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3378-drm-radeon-deprecate-and-remove-KFD-interface.patch
@@ -0,0 +1,35 @@
+From 9ea646f73a6895aff363472d1a3856e9329e79fc Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
+Date: Mon, 30 Oct 2017 14:16:21 +0100
+Subject: [PATCH 3378/4131] drm/radeon: deprecate and remove KFD interface
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+To quote Felix: "For testing KV with current user mode stack, please use
+amdgpu. I don't expect this to work with radeon and I'm not planning to
+spend any effort on making radeon work with a current user mode stack."
+
+Only compile tested, but should be straight forward.
+
+Signed-off-by: Christian König <christian.koenig@amd.com>
+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 e13c67c..bc5a294 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 || DRM_AMDGPU) && AMD_IOMMU_V2 && X86_64
++ depends on DRM_AMDGPU && AMD_IOMMU_V2 && X86_64
+ help
+ Enable this if you want to use HSA features on AMD GPU devices.
+--
+2.7.4
+