|
@@ -747,6 +747,12 @@ done:
|
|
execlists_set_active(execlists, EXECLISTS_ACTIVE_USER);
|
|
execlists_set_active(execlists, EXECLISTS_ACTIVE_USER);
|
|
guc_submit(engine);
|
|
guc_submit(engine);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /* We must always keep the beast fed if we have work piled up */
|
|
|
|
+ GEM_BUG_ON(port_isset(execlists->port) &&
|
|
|
|
+ !execlists_is_active(execlists, EXECLISTS_ACTIVE_USER));
|
|
|
|
+ GEM_BUG_ON(execlists->first && !port_isset(execlists->port));
|
|
|
|
+
|
|
unlock:
|
|
unlock:
|
|
spin_unlock_irq(&engine->timeline->lock);
|
|
spin_unlock_irq(&engine->timeline->lock);
|
|
}
|
|
}
|