aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0291-gpu-drm-amdgpu-Fix-build-when-CONFIG_DEBUG_FS-is-not.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0291-gpu-drm-amdgpu-Fix-build-when-CONFIG_DEBUG_FS-is-not.patch')
-rw-r--r--common/recipes-kernel/linux/files/0291-gpu-drm-amdgpu-Fix-build-when-CONFIG_DEBUG_FS-is-not.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/common/recipes-kernel/linux/files/0291-gpu-drm-amdgpu-Fix-build-when-CONFIG_DEBUG_FS-is-not.patch b/common/recipes-kernel/linux/files/0291-gpu-drm-amdgpu-Fix-build-when-CONFIG_DEBUG_FS-is-not.patch
deleted file mode 100644
index e9f234bb..00000000
--- a/common/recipes-kernel/linux/files/0291-gpu-drm-amdgpu-Fix-build-when-CONFIG_DEBUG_FS-is-not.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 7cebc728174424d67df91dfb14f8b6dc13bed993 Mon Sep 17 00:00:00 2001
-From: Alexander Kuleshov <kuleshovmail@gmail.com>
-Date: Sat, 27 Jun 2015 13:16:05 +0600
-Subject: [PATCH 0291/1050] gpu/drm/amdgpu: Fix build when CONFIG_DEBUG_FS is
- not set
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-If the CONFIG_DEBUG_FS is not selected, compilation of the
-drivers/gpu/drm/amd/amdgpu/amdgpu_device.c provides two warnings that
-amdgpu_debugfs_regs_init and amdgpu_debugfs_regs_cleanup are used but
-never defined. And as result:
-
-ERROR: "amdgpu_debugfs_regs_cleanup" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
-ERROR: "amdgpu_debugfs_regs_init" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
- ^
-Reviewed-by: Christian König <christian.koenig@amd.com>
-Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
-index e190975..ba46be3 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
-@@ -2001,4 +2001,10 @@ int amdgpu_debugfs_init(struct drm_minor *minor)
- void amdgpu_debugfs_cleanup(struct drm_minor *minor)
- {
- }
-+#else
-+static int amdgpu_debugfs_regs_init(struct amdgpu_device *adev)
-+{
-+ return 0;
-+}
-+static void amdgpu_debugfs_regs_cleanup(struct amdgpu_device *adev) { }
- #endif
---
-1.9.1
-