aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0396-drm-amdgpu-add-check-for-callback.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0396-drm-amdgpu-add-check-for-callback.patch')
-rw-r--r--common/recipes-kernel/linux/files/0396-drm-amdgpu-add-check-for-callback.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/common/recipes-kernel/linux/files/0396-drm-amdgpu-add-check-for-callback.patch b/common/recipes-kernel/linux/files/0396-drm-amdgpu-add-check-for-callback.patch
deleted file mode 100644
index de5b6e60..00000000
--- a/common/recipes-kernel/linux/files/0396-drm-amdgpu-add-check-for-callback.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From afe10081498fdf2c5b92c7fcc534e49544218fb9 Mon Sep 17 00:00:00 2001
-From: Chunming Zhou <david1.zhou@amd.com>
-Date: Tue, 28 Jul 2015 16:11:52 +0800
-Subject: [PATCH 0396/1050] drm/amdgpu: add check for callback
-
-it is possible that the callback isn't defined sometimes.
-
-Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
-Reviewed-by: Christian K?nig <christian.koenig@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
-index 9ff4d27..c41360e 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
-@@ -137,7 +137,8 @@ static void amdgpu_job_work_func(struct work_struct *work)
- container_of(work, struct amdgpu_cs_parser,
- job_work);
- mutex_lock(&sched_job->job_lock);
-- sched_job->free_job(sched_job);
-+ if (sched_job->free_job)
-+ sched_job->free_job(sched_job);
- mutex_unlock(&sched_job->job_lock);
- /* after processing job, free memory */
- kfree(sched_job);
---
-1.9.1
-