aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1720-drm-amdkfd-Fix-destroy-queue-failure-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1720-drm-amdkfd-Fix-destroy-queue-failure-path.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1720-drm-amdkfd-Fix-destroy-queue-failure-path.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1720-drm-amdkfd-Fix-destroy-queue-failure-path.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1720-drm-amdkfd-Fix-destroy-queue-failure-path.patch
deleted file mode 100644
index 21ec93d5..00000000
--- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1720-drm-amdkfd-Fix-destroy-queue-failure-path.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From a1e321b6c970d38c42a17ea725f33340bdc491ec Mon Sep 17 00:00:00 2001
-From: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
-Date: Mon, 19 Jun 2017 14:41:42 -0400
-Subject: [PATCH 1720/4131] drm/amdkfd: Fix destroy queue failure path
-
-Even if unmmap queue times out during destroy, delete the queue
-completely. This ensures process_queue_manager and qcm_process_device
-queue list are consistent.
-
-BUG: SWDEV-110763
-
-Change-Id: I426c7f809021063d9aa445b1256861433e53b00c
-Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
----
- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
-index 4db9929..920fe18 100644
---- a/drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
-+++ b/drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
-@@ -335,11 +335,11 @@ int pqm_destroy_queue(struct process_queue_manager *pqm, unsigned int qid)
- if (pqn->q) {
- dqm = pqn->q->device->dqm;
- kfree(pqn->q->properties.cu_mask);
-+ pqn->q->properties.cu_mask = NULL;
- retval = dqm->ops.destroy_queue(dqm, &pdd->qpd, pqn->q);
- if (retval != 0) {
- if (retval == -ETIME)
- pdd->reset_wavefronts = true;
-- return retval;
- }
- uninit_queue(pqn->q);
- }
---
-2.7.4
-