If the second ELSP port is available, schedule the execlists tasklet to
see if the new request can occupy it.

Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
---
 drivers/gpu/drm/i915/intel_lrc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c
index 419a874491c6..2bb732e0aafb 100644
--- a/drivers/gpu/drm/i915/intel_lrc.c
+++ b/drivers/gpu/drm/i915/intel_lrc.c
@@ -666,7 +666,7 @@ static void execlists_submit_request(struct 
drm_i915_gem_request *request)
 
        if (insert_request(&request->priotree, &engine->execlist_queue))
                engine->execlist_first = &request->priotree.node;
-       if (execlists_elsp_idle(engine))
+       if (execlists_elsp_ready(engine))
                tasklet_hi_schedule(&engine->irq_tasklet);
 
        spin_unlock_irqrestore(&engine->timeline->lock, flags);
-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to