aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1442-drm-amdkfd-Remove-duplicate-pqm_uninit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1442-drm-amdkfd-Remove-duplicate-pqm_uninit.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1442-drm-amdkfd-Remove-duplicate-pqm_uninit.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1442-drm-amdkfd-Remove-duplicate-pqm_uninit.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1442-drm-amdkfd-Remove-duplicate-pqm_uninit.patch
deleted file mode 100644
index ac693c94..00000000
--- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1442-drm-amdkfd-Remove-duplicate-pqm_uninit.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 169dcfef97fcabfc55e17fa9eaddb606f5c44685 Mon Sep 17 00:00:00 2001
-From: Yong Zhao <yong.zhao@amd.com>
-Date: Sun, 29 May 2016 20:38:39 -0400
-Subject: [PATCH 1442/4131] drm/amdkfd: Remove duplicate pqm_uninit()
-
-pqm_uninit() will be called in kfd_process_notifier_release(), which
-is when the process exits. Calling it in kfd_unbind_process_from_device()
-is duplicate and in fact incorrect, because pqm should not be
-uninitalized as long as the process still exists.
-
-Change-Id: I65f5095c0e1f346bda76d429dd8d88ff5c3eae0c
-Signed-off-by: Yong Zhao <yong.zhao@amd.com>
----
- drivers/gpu/drm/amd/amdkfd/kfd_process.c | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_process.c b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
-index a6fd9c2..2c371cd 100644
---- a/drivers/gpu/drm/amd/amdkfd/kfd_process.c
-+++ b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
-@@ -716,8 +716,6 @@ void kfd_unbind_process_from_device(struct kfd_dev *dev, unsigned int pasid)
-
- mutex_unlock(get_dbgmgr_mutex());
-
-- pqm_uninit(&p->pqm);
--
- pdd = kfd_get_process_device_data(dev, p);
- if (pdd->reset_wavefronts) {
- dbgdev_wave_reset_wavefronts(pdd->dev, p);
---
-2.7.4
-