aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1409-drm-amdkfd-Consider-debug_largebar-when-reporting-to.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1409-drm-amdkfd-Consider-debug_largebar-when-reporting-to.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1409-drm-amdkfd-Consider-debug_largebar-when-reporting-to.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1409-drm-amdkfd-Consider-debug_largebar-when-reporting-to.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1409-drm-amdkfd-Consider-debug_largebar-when-reporting-to.patch
deleted file mode 100644
index 1ea0bc17..00000000
--- a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1409-drm-amdkfd-Consider-debug_largebar-when-reporting-to.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 7fa24954cd14512fc54ec49fcca40dcfd67407d6 Mon Sep 17 00:00:00 2001
-From: Felix Kuehling <Felix.Kuehling@amd.com>
-Date: Tue, 29 Mar 2016 19:37:04 -0400
-Subject: [PATCH 1409/4131] drm/amdkfd: Consider debug_largebar when reporting
- topology
-
-If debug_largebar is set, report only visible memory as a public
-framebuffer heap.
-
-Change-Id: Ic030c8e6a453a9a0e1efb917203e5bfd8381691c
-Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
----
- drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
-index b3d4a50..7001b59 100644
---- a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
-+++ b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
-@@ -1023,6 +1023,9 @@ static int kfd_create_vcrat_image_gpu(void *pcrat_image,
- sub_type_hdr = (typeof(sub_type_hdr))((char *)sub_type_hdr +
- sub_type_hdr->length);
-
-+ if (debug_largebar)
-+ local_mem_info.local_mem_size_private = 0;
-+
- if (local_mem_info.local_mem_size_private == 0)
- ret = kfd_fill_gpu_memory_affinity(&avail_size,
- kdev, HSA_MEM_HEAP_TYPE_FB_PUBLIC,
---
-2.7.4
-