kernel/drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
.. .. @@ -342,9 +342,10 @@ 342 342 /* Kick the work once more to drain the signalers */ 343 343 irq_work_sync(&b->irq_work); 344 344 while (unlikely(READ_ONCE(b->irq_armed))) { 345 - irq_work_queue(&b->irq_work);345 + local_irq_disable();346 + signal_irq_work(&b->irq_work);347 + local_irq_enable();346 348 cond_resched(); 347 - irq_work_sync(&b->irq_work);348 349 } 349 350 GEM_BUG_ON(!list_empty(&b->signalers)); 350 351 }