Commit fe537d00 authored by Christian König's avatar Christian König Committed by Alex Deucher

drm/amdgpu: ignore scheduler fences from the same entity

We are going to submit them before the job anyway.
Signed-off-by: default avatarChristian König <>
Reviewed-by: default avatarChunming Zhou <>
parent 6bd53c41
......@@ -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 */
if (fence_add_callback(entity->dependency, &entity->cb,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment