[igt-dev] [PATCH i-g-t v4 0/1] tests/i915/gem_ctx_persistence: Set context with supported engines

Bommu Krishnaiah krishnaiah.bommu at intel.com
Tue Jan 28 08:15:57 UTC 2020


Update the context with supported engines on the platform with set_property
I915_CONTEXT_PARAM_ENGINES to make sure the work load is submitted to
the available engines only.

v2: addressed the review comments.
v3: addressed v2 review comments.
V4: addressed v3 review comments.

In v4 Re-introduced the gem_context_set_all_engines() API, 
test_process_mixed() test creating new forked process, to set engine map
to new forked process I added gem_context_set_all_engines() API.

Bommu Krishnaiah (1):
  tests/i915/gem_ctx_persistence: Set context with supported engines

 lib/i915/gem_engine_topology.c   | 11 ++++++
 lib/i915/gem_engine_topology.h   |  2 +
 tests/i915/gem_ctx_persistence.c | 65 ++++++++++++++++++++++++--------
 3 files changed, 62 insertions(+), 16 deletions(-)

-- 
2.24.0



More information about the igt-dev mailing list