diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0646-drm-amdgpu-ignore-scheduler-fences-from-the-same-ent.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0646-drm-amdgpu-ignore-scheduler-fences-from-the-same-ent.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/common/recipes-kernel/linux/files/0646-drm-amdgpu-ignore-scheduler-fences-from-the-same-ent.patch b/common/recipes-kernel/linux/files/0646-drm-amdgpu-ignore-scheduler-fences-from-the-same-ent.patch deleted file mode 100644 index 46f0d1ce..00000000 --- a/common/recipes-kernel/linux/files/0646-drm-amdgpu-ignore-scheduler-fences-from-the-same-ent.patch +++ /dev/null @@ -1,37 +0,0 @@ -From fe537d003f9a97c65848e47b3b9acbb0c5002fd9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com> -Date: Tue, 27 Oct 2015 17:00:17 +0100 -Subject: [PATCH 0646/1565] drm/amdgpu: ignore scheduler fences from the same - entity -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -We are going to submit them before the job anyway. - -Signed-off-by: Christian König <christian.koenig@amd.com> -Reviewed-by: Chunming Zhou <david1.zhou@amd.com> ---- - drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c -index 7fa1d7a..8dd7316 100644 ---- a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c -+++ b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c -@@ -222,6 +222,12 @@ amd_sched_entity_pop_job(struct amd_sched_entity *entity) - - while ((entity->dependency = sched->ops->dependency(sched_job))) { - -+ if (entity->dependency->context == entity->fence_context) { -+ /* We can ignore fences from ourself */ -+ fence_put(entity->dependency); -+ continue; -+ } -+ - if (fence_add_callback(entity->dependency, &entity->cb, - amd_sched_entity_wakeup)) - fence_put(entity->dependency); --- -1.9.1 - |