[PATCH i-g-t 0/2] xe_find_engine_by_class helper

Pravalika Gurram pravalika.gurram at intel.com
Wed Oct 16 10:19:31 UTC 2024


Added "xe_find_engine_by_class" helper function to query with the required
engine class and get the engine info.

Use 'xe_find_engine_by_class' helper to get the engine info with the
required engine class.  Stop assuming engine id is equal to 1

Pravalika Gurram (2):
  lib/xe/xe_query: xe_find_engine_by_class helper
  tests/intel/xe_exec_compute_mode: Use xe_find_engine_by_class

 lib/xe/xe_query.c                  | 20 ++++++++++++++++++++
 lib/xe/xe_query.h                  |  1 +
 tests/intel/xe_exec_compute_mode.c |  5 ++++-
 3 files changed, 25 insertions(+), 1 deletion(-)

-- 
2.34.1



More information about the igt-dev mailing list