Quoting Dale B Stimson (2020-02-13 19:26:06) > Function intel_get_current_engine() should return NULL (instead of > engine 0) if there are no engines. There should be some igt to put basic use of for_each_engine() though its paces. Nothing fancy, just complete a loop.... Andi, am I imagining this? I swear saw patches from you to do the basics. Anyway, there should be some, and this is worth adding to them, for_each_context_engine() on an empty engines[] and assert we do not enter the loop. -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx