aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0500-drm-amdgpu-adjust-the-judgement-of-removing-fence-ca.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0500-drm-amdgpu-adjust-the-judgement-of-removing-fence-ca.patch')
-rw-r--r--common/recipes-kernel/linux/files/0500-drm-amdgpu-adjust-the-judgement-of-removing-fence-ca.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/common/recipes-kernel/linux/files/0500-drm-amdgpu-adjust-the-judgement-of-removing-fence-ca.patch b/common/recipes-kernel/linux/files/0500-drm-amdgpu-adjust-the-judgement-of-removing-fence-ca.patch
deleted file mode 100644
index 5b980158..00000000
--- a/common/recipes-kernel/linux/files/0500-drm-amdgpu-adjust-the-judgement-of-removing-fence-ca.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 113cd9dacbad4906e1c8db09233b9fdcb002f80d Mon Sep 17 00:00:00 2001
-From: Junwei Zhang <Jerry.Zhang@amd.com>
-Date: Wed, 26 Aug 2015 09:34:59 +0800
-Subject: [PATCH 0500/1050] drm/amdgpu: adjust the judgement of removing fence
- callback
-
-The fence in the array may be skipped if wait_all is false,
-thus the related callback is not initialized with list head.
-So removing this kind callback will cause NULL pointer reference.
-
-Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com>
-Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
-index 9787337..f446bf2 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
-@@ -966,7 +966,7 @@ signed long amdgpu_fence_wait_multiple(struct amdgpu_device *adev,
- fence_rm_cb:
- for (idx = 0; idx < count; ++idx) {
- fence = array[idx];
-- if (fence)
-+ if (fence && cb[idx].base.func)
- fence_remove_callback(fence, &cb[idx].base);
- }
-
---
-1.9.1
-