[PATCH i-g-t 00/15] Improve mem-copy/mem-set lib and tests
Zbigniew Kempczyński
zbigniew.kempczynski at intel.com
Tue May 13 18:57:55 UTC 2025
There were missing page and matrix tests in mem-copy. Apart of
that batch emission code allowed to set invalid bits in the command.
Fix all of these.
Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Francois Dugast <francois.dugast at intel.com>
Zbigniew Kempczyński (15):
lib/xe_spin: limit width/pitch for mem-copy
tests/xe_render_copy: change width and pitch to be in valid range
tests/xe_spin_batch: change width and pitch to be in valid range
tests/xe_copy_basic: use non-zero pitch
lib/intel_cmds_info: rename M to TYPE in blt_memop_type
lib/intel_blt: separate mem-copy and mem-set
lib/intel_cmds_info: add blt_memop_mode (byte/page)
lib/intel_blt: add emit batchbuffer end
lib/intel_blt: use struct instead of inline coding
tests/xe_copy_basic: replace size to rect which keeps objects geometry
tests/xe_copy_basic: add testcase with large buffer size
tests/xe_copy_basic: add subtest to verify mem-copy in pages
lib/intel_blt: add support for matrix mem-copy
tests/xe_copy_basic: add mem-copy matrix subtests
lib/intel_blt: add mem-copy debug facility
lib/intel_blt.c | 267 +++++++++++++++++++++++++++++++----
lib/intel_blt.h | 27 +++-
lib/intel_cmds_info.c | 8 +-
lib/intel_cmds_info.h | 9 +-
lib/xe/xe_spin.c | 35 ++++-
tests/intel/xe_copy_basic.c | 193 ++++++++++++++++++++-----
tests/intel/xe_render_copy.c | 10 +-
tests/intel/xe_spin_batch.c | 12 +-
8 files changed, 471 insertions(+), 90 deletions(-)
--
2.43.0
More information about the igt-dev
mailing list