[igt-dev] [PATCH i-g-t 0/4] Add i915 blt library + gem_ccs test

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Wed Feb 9 23:30:40 UTC 2022


Enable DG2+ testing of flatccs.

Idea of library comes from Ayaz, just implementation differs due
to some reasons discovered during different tiling testing.

Currently I used default (0) mocs to avoid kernel differences.
We may change it to UC/WB when kernel interface will be stabilized
and merged.

Temporary DG2 definitions were added to allow painless review of 
the code.

Cc: Apoorva Singh <apoorva1.singh at intel.com>
Cc: Ayaz A Siddiqui <ayaz.siddiqui at intel.com>

Chris Wilson (1):
  i915/gem_engine_topology: Only use the main copy engines for
    XY_BLOCK_COPY

Zbigniew Kempczyński (3):
  FIXME: Add DG2 defs to use in gem-ccs
  lib/i915_blt: Add library for blitter
  tests/gem_ccs: Verify uncompressed and compressed blits

 .../igt-gpu-tools/igt-gpu-tools-docs.xml      |    1 +
 lib/i915/gem_engine_topology.c                |   38 +
 lib/i915/gem_engine_topology.h                |    5 +
 lib/i915/i915_blt.c                           | 1090 +++++++++++++++++
 lib/i915/i915_blt.h                           |  196 +++
 lib/i915_pciids.h                             |    7 +
 lib/intel_device_info.c                       |    7 +
 lib/meson.build                               |    1 +
 tests/i915/gem_ccs.c                          |  487 ++++++++
 tests/meson.build                             |    1 +
 10 files changed, 1833 insertions(+)
 create mode 100644 lib/i915/i915_blt.c
 create mode 100644 lib/i915/i915_blt.h
 create mode 100644 tests/i915/gem_ccs.c

-- 
2.32.0



More information about the igt-dev mailing list