Skip to content

lib: Add tests validating media compressed surfaces

Imre Deak igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6tests/gem_render_copy: Make subtest parameters more explicitlib/intel_batchbuffer.h tests/i915/gem_render_copy.c+93 -411 reply
2/6tests/gem_render_copy: Separate out mixed tiled ccs subteststests/i915/gem_render_copy.c+126 -411 reply
3/6lib: Move aux pgtable state prepare/emit to intel_aux_pgtable.clib/intel_aux_pgtable.c lib/intel_aux_pgtable.h lib/rendercopy_gen9.c+221 -2051 reply
4/6lib/intel_aux_pgtable: Set MMIO remap for write the AUX pagedir reglib/intel_aux_pgtable.c lib/intel_reg.h+3 -21 reply
5/6lib: Add vebox copy supportlib/Makefile.sources lib/igt_fb.c lib/intel_aux_pgtable.c +10 more+387 -265 replies
6/6tests/gem_render_copy: Add media compression subtestslib/gen9_render.h lib/rendercopy_gen9.c tests/i915/gem_render_copy.c+162 -222 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchMika Kahola
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 0/6] lib: Add tests validating media compressed surfaces

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 <[email protected]>
Cc Brian Welty <[email protected]>
Cc Chris Wilson <[email protected]>
Cc Ville Syrjälä <[email protected]>

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
Signature · 5 lines
2.17.1
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev