aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.19.8/0931-drm-amdgpu-Fix-stub-function-name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0931-drm-amdgpu-Fix-stub-function-name.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.19.8/0931-drm-amdgpu-Fix-stub-function-name.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0931-drm-amdgpu-Fix-stub-function-name.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0931-drm-amdgpu-Fix-stub-function-name.patch
new file mode 100644
index 00000000..ea72db72
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0931-drm-amdgpu-Fix-stub-function-name.patch
@@ -0,0 +1,36 @@
+From bd25d332a2455642a4ea4c25d665ad51950e3e1e Mon Sep 17 00:00:00 2001
+From: "Kuehling, Felix" <Felix.Kuehling@amd.com>
+Date: Mon, 10 Dec 2018 21:29:00 +0000
+Subject: [PATCH 0931/2940] drm/amdgpu: Fix stub function name
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This function was renamed in a previous commit. Update the stub
+function name for builds with CONFIG_HSA_AMD disabled.
+
+Fixes: 611736d8447c ("drm/amdgpu: Add KFD VRAM limit checking")
+Acked-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
+Acked-by: Christian König <christian.koenig@amd.com>
+Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
+index 5070c4756259..09730602fcd1 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
+@@ -520,7 +520,7 @@ bool amdkfd_fence_check_mm(struct dma_fence *f, struct mm_struct *mm)
+ return false;
+ }
+
+-void amdgpu_amdkfd_unreserve_system_memory_limit(struct amdgpu_bo *bo)
++void amdgpu_amdkfd_unreserve_memory_limit(struct amdgpu_bo *bo)
+ {
+ }
+
+--
+2.17.1
+