[igt-dev] [PATCH i-g-t 0/6] lib: Add tests validating media compressed surfaces
Imre Deak
imre.deak at intel.com
Fri Nov 29 10:38:37 UTC 2019
Add test coverage to validate that surfaces in the media compressed
format are handled correctly (as part of the general E2E compression
validation). This involves setting up an AUX buffer for the given
surface - the same way it's done for render compressed surfaces - but
the media compressed format can only be produced by a media engine. The
simplest way for that is use the tiling convert command of the vebox
engine, so also add support for that.
Cc: Mika Kahola <mika.kahola at intel.com>
Cc: Brian Welty <brian.welty at intel.com>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Imre Deak (6):
tests/gem_render_copy: Make subtest parameters more explicit
tests/gem_render_copy: Separate out mixed tiled ccs subtests
lib: Move aux pgtable state prepare/emit to intel_aux_pgtable.c
lib/intel_aux_pgtable: Set MMIO remap for write the AUX pagedir reg
lib: Add vebox copy support
tests/gem_render_copy: Add media compression subtests
lib/Makefile.sources | 1 +
lib/gen9_render.h | 44 ++--
lib/igt_fb.c | 74 +++++--
lib/intel_aux_pgtable.c | 202 ++++++++++++++++++
lib/intel_aux_pgtable.h | 24 +++
lib/intel_batchbuffer.c | 11 +
lib/intel_batchbuffer.h | 35 ++-
lib/intel_reg.h | 2 +
lib/ioctl_wrappers.h | 1 +
lib/meson.build | 1 +
lib/rendercopy_gen9.c | 220 +------------------
lib/veboxcopy.h | 9 +
lib/veboxcopy_gen12.c | 269 +++++++++++++++++++++++
tests/i915/gem_render_copy.c | 404 ++++++++++++++++++++++++++++-------
14 files changed, 976 insertions(+), 321 deletions(-)
create mode 100644 lib/veboxcopy.h
create mode 100644 lib/veboxcopy_gen12.c
--
2.17.1
More information about the igt-dev
mailing list