aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0331-drm-amdgpu-fix-bug-when-amdkfd-destroys-hqd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0331-drm-amdgpu-fix-bug-when-amdkfd-destroys-hqd.patch')
-rw-r--r--common/recipes-kernel/linux/files/0331-drm-amdgpu-fix-bug-when-amdkfd-destroys-hqd.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/common/recipes-kernel/linux/files/0331-drm-amdgpu-fix-bug-when-amdkfd-destroys-hqd.patch b/common/recipes-kernel/linux/files/0331-drm-amdgpu-fix-bug-when-amdkfd-destroys-hqd.patch
deleted file mode 100644
index e77ff4bd..00000000
--- a/common/recipes-kernel/linux/files/0331-drm-amdgpu-fix-bug-when-amdkfd-destroys-hqd.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From e8a64b20eb27cd9c9403f51e4e6c415f9e096e39 Mon Sep 17 00:00:00 2001
-From: Oded Gabbay <oded.gabbay@gmail.com>
-Date: Wed, 29 Jul 2015 10:33:06 +0300
-Subject: [PATCH 0331/1050] drm/amdgpu: fix bug when amdkfd destroys hqd
-
-The wrong define was used to check if the hqd is still active
-
-v2: Don't use SHIFT as the MASK is already shifted
-
-Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
-index 2daad33..dd2037b 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
-@@ -450,7 +450,7 @@ static int kgd_hqd_destroy(struct kgd_dev *kgd, uint32_t reset_type,
-
- while (true) {
- temp = RREG32(mmCP_HQD_ACTIVE);
-- if (temp & CP_HQD_ACTIVE__ACTIVE__SHIFT)
-+ if (temp & CP_HQD_ACTIVE__ACTIVE_MASK)
- break;
- if (timeout == 0) {
- pr_err("kfd: cp queue preemption time out (%dms)\n",
---
-1.9.1
-