[igt-dev] [PATCH i-g-t,v3 0/5] Add testing for CCS
apoorva1.singh at intel.com
apoorva1.singh at intel.com
Fri Dec 10 12:53:01 UTC 2021
From: Apoorva Singh <apoorva1.singh at intel.com>
- Add new library intel_mocs for mocs settings.
- Add new library i915_blt for various blt commands.
- Add a new platform flag, has_flat_ccs, for platforms
supporting Flat CCS.
- Only use the main copy engines for XY_BLOCK_COPY.
XY_BLOCK_COPY blt command is used to transfer the ccs data.
So, we can only run the tests on those engines which have
support for the "block_copy" capability.
- Add gem_ccs test for CCS testing.
Commands are constructed with XY_BLOCK_COPY_BLT
and XY_CTRL_SURF_COPY_BLT instructions.
Apoorva Singh (3):
lib/i915: Introduce library intel_mocs
lib/i915: Introduce library i915_blt
lib/intel_chipset.h: Add has_flat_ccs flag
CQ Tang (1):
i915/gem_ccs: Add testing for CCS
Chris Wilson (1):
i915/gem_engine_topology: Only use the main copy engines for
XY_BLOCK_COPY
lib/i915/gem_engine_topology.c | 38 +++
lib/i915/gem_engine_topology.h | 5 +
lib/i915/i915_blt.c | 469 +++++++++++++++++++++++++++++++
lib/i915/i915_blt.h | 82 ++++++
lib/i915/intel_mocs.c | 51 ++++
lib/i915/intel_mocs.h | 19 ++
lib/intel_chipset.h | 3 +
lib/meson.build | 2 +
tests/i915/gem_ccs.c | 492 +++++++++++++++++++++++++++++++++
tests/meson.build | 1 +
10 files changed, 1162 insertions(+)
create mode 100644 lib/i915/i915_blt.c
create mode 100644 lib/i915/i915_blt.h
create mode 100644 lib/i915/intel_mocs.c
create mode 100644 lib/i915/intel_mocs.h
create mode 100644 tests/i915/gem_ccs.c
--
2.25.1
More information about the igt-dev
mailing list