diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1136-drm-amdkfd-Unmapping-static-queues-when-a-process-te.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1136-drm-amdkfd-Unmapping-static-queues-when-a-process-te.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1136-drm-amdkfd-Unmapping-static-queues-when-a-process-te.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1136-drm-amdkfd-Unmapping-static-queues-when-a-process-te.patch new file mode 100644 index 00000000..e79ef9d9 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1136-drm-amdkfd-Unmapping-static-queues-when-a-process-te.patch @@ -0,0 +1,35 @@ +From df030e9cc9903669cdd127624e30d3c41cd46d34 Mon Sep 17 00:00:00 2001 +From: Yong Zhao <yong.zhao@amd.com> +Date: Fri, 13 May 2016 21:39:48 -0400 +Subject: [PATCH 1136/4131] drm/amdkfd: Unmapping static queues when a process + terminates + +In the original code, the static queues were also unmapped when a +process terminates. However, when we tried to fix a multi-process +dispatch failure in SWDEV-89586, we excluded the static queues in +order not to reset the queues when unmapping. Now we include back +the static queues as the new interface of execute_queues_cpsch() +allows us to specify the queue filter. + +Change-Id: I09959e96fc6ee2990ff80c251910dcc7c0c631c8 +Signed-off-by: Yong Zhao <yong.zhao@amd.com> +--- + drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +index ea47e8f..f92c01b 100644 +--- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c ++++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +@@ -1459,7 +1459,7 @@ static int process_termination_cpsch(struct device_queue_manager *dqm, + } + } + +- retval = execute_queues_cpsch(dqm, false); ++ retval = execute_queues_cpsch(dqm, true); + + /* lastly, free mqd resources */ + list_for_each_entry_safe(q, next, &qpd->queues_list, list) { +-- +2.7.4 + |