[Intel-gfx] [PATCH] drm/i915/execlists: Check active for idleness before running tasklet
Chris Wilson
chris at chris-wilson.co.uk
Wed Jul 18 13:50:11 UTC 2018
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107274
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
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 db5351e6a3a5..6921406a7250 100644
--- a/drivers/gpu/drm/i915/intel_lrc.c
+++ b/drivers/gpu/drm/i915/intel_lrc.c
@@ -1074,7 +1074,7 @@ static void execlists_submission_tasklet(unsigned long data)
spin_lock_irqsave(&engine->timeline.lock, flags);
- if (engine->i915->gt.awake) /* we may be delayed until after we idle! */
+ if (engine->execlists.active) /* we may be delayed until after idle! */
__execlists_submission_tasklet(engine);
spin_unlock_irqrestore(&engine->timeline.lock, flags);
--
2.18.0
More information about the Intel-gfx
mailing list