diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0516-drm-amdgpu-make-wait_event-uninterruptible-in-push_j.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0516-drm-amdgpu-make-wait_event-uninterruptible-in-push_j.patch | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/common/recipes-kernel/linux/files/0516-drm-amdgpu-make-wait_event-uninterruptible-in-push_j.patch b/common/recipes-kernel/linux/files/0516-drm-amdgpu-make-wait_event-uninterruptible-in-push_j.patch deleted file mode 100644 index 22b7e227..00000000 --- a/common/recipes-kernel/linux/files/0516-drm-amdgpu-make-wait_event-uninterruptible-in-push_j.patch +++ /dev/null @@ -1,59 +0,0 @@ -From c9f0fe5e19ec485476c3b22e9265016b96c813ef Mon Sep 17 00:00:00 2001 -From: Chunming Zhou <david1.zhou@amd.com> -Date: Mon, 31 Aug 2015 15:46:12 +0800 -Subject: [PATCH 0516/1050] drm/amdgpu: make wait_event uninterruptible in - push_job -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -with interruptible, the push_job maybe return -ERESTARTSYS, -then result in push_job error. - -E.g. bug trace: -[ 181.618860] *****amdgpu_copy_buffer:fence->seq:0x0000000048d8758b, contxt:1207959552, ref:683967304, r:-512 -[ 181.618929] BUG: unable to handle kernel paging request at ffffffff811aa266 -[ 181.625887] IP: [<ffffffff81548ffc>] reservation_object_add_excl_fence+0x3c/0x120 -... -[ 181.859767] [<ffffffff811aa266>] ? unmap_mapping_range+0x66/0x110 -[ 181.865928] [<ffffffffc0608ac1>] ttm_bo_move_accel_cleanup+0x41/0x3c0 [ttm] -[ 181.872971] [<ffffffffc062d382>] amdgpu_move_blit.isra.18+0x122/0x150 [amdgpu] -[ 181.880254] [<ffffffff811aa266>] ? unmap_mapping_range+0x66/0x110 -[ 181.886420] [<ffffffffc062d709>] amdgpu_bo_move+0xa9/0x200 [amdgpu] -[ 181.892753] [<ffffffffc0606e8d>] ttm_bo_handle_move_mem+0x26d/0x5c0 [ttm] - -Signed-off-by: Chunming Zhou <david1.zhou@amd.com> -Reviewed-by: Christian König <christian.koenig@amd.com> ---- - drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c -index 2f5d1f0..ab8577f 100644 ---- a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c -+++ b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c -@@ -264,7 +264,6 @@ int amd_sched_entity_push_job(struct amd_sched_job *sched_job) - struct amd_sched_entity *entity = sched_job->s_entity; - struct amd_sched_fence *fence = amd_sched_fence_create( - entity, sched_job->owner); -- int r; - - if (!fence) - return -ENOMEM; -@@ -272,10 +271,10 @@ int amd_sched_entity_push_job(struct amd_sched_job *sched_job) - fence_get(&fence->base); - sched_job->s_fence = fence; - -- r = wait_event_interruptible(entity->scheduler->job_scheduled, -- amd_sched_entity_in(sched_job)); -+ wait_event(entity->scheduler->job_scheduled, -+ amd_sched_entity_in(sched_job)); - -- return r; -+ return 0; - } - - /** --- -1.9.1 - |