[igt-dev] [PATCH i-g-t v2 0/3] Use intel_cmds_info in i915_pm_rpm

Karolina Stolarek karolina.stolarek at intel.com
Tue Jun 27 10:58:17 UTC 2023


i915_pm_rpm test uses XY_COLOR_BLT blitter command which is not
supported on newer generations. This series modifies gem-execbuf
test to switch to fast copy if it can't do a color blit. It also
introduces an updated version of intel_cmds_info library that has
information on XY_COLOR_BLT support.

v2:
  - Rebase the series on the top of "lib/intel_blt: Prepare blt
    library to support xe" commit
  - Update regions iteration in gem_execbuf_subtest() to first
    create a buffer on device memory, if possible
  - Re-order blt_cmd_info definitions (no functional change)
  - Drop BLT_CMD_LONG flag, and re-use BLT_CMD_EXTENDED

Karolina Stolarek (1):
  tests/i915/i915_pm_rpm: Check command property instead of gen

Vikas Srivastava (2):
  lib/intel_cmds_info: Add library support for XY_COLOR_BLT
  tests/i915/i915_pm_rpm: Modify gem-execbuf test for gen12+

 lib/intel_blt.c          |  16 ++++
 lib/intel_blt.h          |   1 +
 lib/intel_cmds_info.c    |  23 ++++-
 lib/intel_cmds_info.h    |   1 +
 tests/i915/i915_pm_rpm.c | 195 ++++++++++++++++++++++++++++++---------
 5 files changed, 191 insertions(+), 45 deletions(-)

-- 
2.25.1



More information about the igt-dev mailing list