aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0277-drm-amdgpu-directly-return-fence-from-ib_schedule.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0277-drm-amdgpu-directly-return-fence-from-ib_schedule.patch')
-rw-r--r--common/recipes-kernel/linux/files/0277-drm-amdgpu-directly-return-fence-from-ib_schedule.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/common/recipes-kernel/linux/files/0277-drm-amdgpu-directly-return-fence-from-ib_schedule.patch b/common/recipes-kernel/linux/files/0277-drm-amdgpu-directly-return-fence-from-ib_schedule.patch
deleted file mode 100644
index 8bd70e75..00000000
--- a/common/recipes-kernel/linux/files/0277-drm-amdgpu-directly-return-fence-from-ib_schedule.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 3d4074df8e41c5e3abf277a778888bf99e20fec8 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
-Date: Mon, 1 Feb 2016 11:56:35 +0100
-Subject: [PATCH 0277/1110] drm/amdgpu: directly return fence from ib_schedule
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Christian K├Ânig <christian.koenig@amd.com>
-Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-Signed-off-by: Kalyan Alle <kalyan.alle@amd.com>
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 8 +++-----
- 1 file changed, 3 insertions(+), 5 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
-index 7c03d4a..e699b06 100644
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
-@@ -98,21 +98,19 @@ static struct fence *amdgpu_sched_run_job(struct amd_sched_job *sched_job)
- }
- job = to_amdgpu_job(sched_job);
- trace_amdgpu_sched_run_job(job);
-- r = amdgpu_ib_schedule(job->ring, job->num_ibs, job->ibs, job->owner);
-+ r = amdgpu_ib_schedule(job->ring, job->num_ibs, job->ibs,
-+ job->owner, &fence);
- if (r) {
- DRM_ERROR("Error scheduling IBs (%d)\n", r);
- goto err;
- }
-
-- fence = job->ibs[job->num_ibs - 1].fence;
-- fence_get(&fence->base);
--
- err:
- if (job->free_job)
- job->free_job(job);
-
- kfree(job);
-- return fence ? &fence->base : NULL;
-+ return fence;
- }
-
- struct amd_sched_backend_ops amdgpu_sched_ops = {
---
-2.7.4
-