[PATCH i-g-t 0/6] Add forcewake support for xe

Lucas De Marchi lucas.demarchi at intel.com
Wed Sep 18 16:36:23 UTC 2024


First 3 patches are sufficient, but I also think the behavior with
passing fd == -1 is not very good. Hence, also add code in intel_reg to
be explicit about what driver to use.

Lucas De Marchi (6):
  lib/igt_gt: Fix forcewake open
  lib/igt_gt: Document fd argument in igt_open_forcewake_handle()
  lib/igt_gt: Make igt_open_forcewake_handle() xe-compatible
  lib/igt_gt: Fallback on filenames in igt_open_forcewake_handle()
  tools/intel_reg: Add wrapper for reg access init
  tools/intel_reg: Add forcewake support to xe

 lib/igt_gt.c      | 25 ++++++++++++++++++++++++-
 tools/intel_reg.c | 28 +++++++++++++++++++++++-----
 2 files changed, 47 insertions(+), 6 deletions(-)

-- 
2.46.1



More information about the igt-dev mailing list