aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0128-drm-amdkfd-Use-DECLARE_BITMAP.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0128-drm-amdkfd-Use-DECLARE_BITMAP.patch')
-rw-r--r--common/recipes-kernel/linux/files/0128-drm-amdkfd-Use-DECLARE_BITMAP.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/common/recipes-kernel/linux/files/0128-drm-amdkfd-Use-DECLARE_BITMAP.patch b/common/recipes-kernel/linux/files/0128-drm-amdkfd-Use-DECLARE_BITMAP.patch
deleted file mode 100644
index 59f63f4d..00000000
--- a/common/recipes-kernel/linux/files/0128-drm-amdkfd-Use-DECLARE_BITMAP.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From f761d8bd80e648979a3d189089576bda4a59d6c4 Mon Sep 17 00:00:00 2001
-From: Joe Perches <joe@perches.com>
-Date: Tue, 19 May 2015 18:37:51 -0700
-Subject: [PATCH 0128/1050] drm/amdkfd: Use DECLARE_BITMAP
-
-Use the generic mechanism to declare a bitmap instead of unsigned long.
-
-It seems that "struct kfd_process.allocated_queue_bitmap" is unused.
-Maybe it could be deleted instead.
-
-Signed-off-by: Joe Perches <joe@perches.com>
-Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
----
- drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 6 ++----
- 1 file changed, 2 insertions(+), 4 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
-index b6f838f..816c7a1 100644
---- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
-+++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h
-@@ -167,8 +167,8 @@ struct kfd_dev {
-
- const struct kfd2kgd_calls *kfd2kgd;
- struct mutex doorbell_mutex;
-- unsigned long doorbell_available_index[DIV_ROUND_UP(
-- KFD_MAX_NUM_OF_QUEUES_PER_PROCESS, BITS_PER_LONG)];
-+ DECLARE_BITMAP(doorbell_available_index,
-+ KFD_MAX_NUM_OF_QUEUES_PER_PROCESS);
-
- void *gtt_mem;
- uint64_t gtt_start_gpu_addr;
-@@ -503,8 +503,6 @@ struct kfd_process {
- /* Size is queue_array_size, up to MAX_PROCESS_QUEUES. */
- struct kfd_queue **queues;
-
-- unsigned long allocated_queue_bitmap[DIV_ROUND_UP(KFD_MAX_NUM_OF_QUEUES_PER_PROCESS, BITS_PER_LONG)];
--
- /*Is the user space process 32 bit?*/
- bool is_32bit_user_mode;
-
---
-1.9.1
-