diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c index 44780e7fafec8e5a6fe12822c3b48bf3a877ff44..d42584439f515336641f08105f481912d0131239 100644 --- a/drivers/gpu/drm/i915/gt/intel_lrc.c +++ b/drivers/gpu/drm/i915/gt/intel_lrc.c @@ -1335,9 +1335,9 @@ static void execlists_dequeue(struct intel_engine_cs *engine) if (submit) { *port = execlists_schedule_in(last, port - execlists->pending); memset(port + 1, 0, (last_port - port) * sizeof(*port)); - execlists_submit_ports(engine); execlists->switch_priority_hint = switch_prio(engine, *execlists->pending); + execlists_submit_ports(engine); } else { ring_set_paused(engine, 0); }