On 21/05/18 17:00, Tvrtko Ursulin wrote:

+
+    /* Queue this switch after all other activity */
+    list_for_each_entry(timeline, &dev_priv->gt.timelines, link) {

This can iterate over gt.active_rings for a shorter walk. See current state of engine_has_idle_kernel_context.

For some reason, iterating over gt.active_rings will trigger an invalid memory access :|

Not sure what's wrong here...

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to