aboutsummaryrefslogtreecommitdiffstats
path: root/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/4339-drm-amdgpu-sriov-Need-to-set-in_gpu_reset-flag-to-ba.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/4339-drm-amdgpu-sriov-Need-to-set-in_gpu_reset-flag-to-ba.patch')
-rw-r--r--meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/4339-drm-amdgpu-sriov-Need-to-set-in_gpu_reset-flag-to-ba.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/4339-drm-amdgpu-sriov-Need-to-set-in_gpu_reset-flag-to-ba.patch b/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/4339-drm-amdgpu-sriov-Need-to-set-in_gpu_reset-flag-to-ba.patch
deleted file mode 100644
index bc4711a9..00000000
--- a/meta-r1000/recipes-kernel/linux/linux-yocto-4.14.71/4339-drm-amdgpu-sriov-Need-to-set-in_gpu_reset-flag-to-ba.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 623d0e2714f5a2134190949178bb185c5fe9faf3 Mon Sep 17 00:00:00 2001
-From: Emily Deng <Emily.Deng@amd.com>
-Date: Thu, 26 Apr 2018 18:02:14 +0800
-Subject: [PATCH 4339/5725] drm/amdgpu/sriov: Need to set in_gpu_reset flag to
- back after gpu reset
-
-After host os reset gpu reset, need to set flag in_gpu_reset to
-zero.
-
-Signed-off-by: Emily Deng <Emily.Deng@amd.com>
-Reviewed-by: Monk Liu <monk.liu@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
-index 4933486..078f70f 100644
---- a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
-+++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
-@@ -260,8 +260,10 @@ static void xgpu_ai_mailbox_flr_work(struct work_struct *work)
- } while (timeout > 1);
-
- flr_done:
-- if (locked)
-+ if (locked) {
-+ adev->in_gpu_reset = 0;
- mutex_unlock(&adev->lock_reset);
-+ }
-
- /* Trigger recovery for world switch failure if no TDR */
- if (amdgpu_lockup_timeout == 0)
---
-2.7.4
-