[Intel-gfx] [RFC PATCH i-g-t 0/2] tests/prime_vgem: Examine blitter access path

Janusz Krzysztofik janusz.krzysztofik at linux.intel.com
Thu Jan 9 14:01:23 UTC 2020


On future hardware with missing GGTT BAR we won't be able to exercise
dma-buf access via that path.  An alternative to basic-gtt subtest for
testing dma-buf access is required, as well as basic-fence-mmap and
coherency-gtt subtest alternatives for testing WC coherency.

Access to the dma sg list feature exposed by dma-buf can be tested
through blitter.  Unfortunately we don't have any equivalently simple
tests that use blitter.  Provide them.

Blitter XY_SRC_COPY method implemented by igt_blitter_src_copy__raw()
IGT library function has been chosen.

v2: As fast copy is not supported on platforms older than Gen 9,
    use XY_SRC_COPY instead (Chris),
  - bundle with a patch providing XY_SRC_COPY implementation,
  - add subtest descriptions.

Janusz Krzysztofik (1):
  tests/prime_vgem: Examine blitter access path

Vanshidhar Konda (1):
  lib/intel_batchbuffer: Add blitter copy using XY_SRC_COPY_BLT

 lib/intel_batchbuffer.c | 185 ++++++++++++++++++++++++++++++++++++++
 lib/intel_batchbuffer.h |  21 +++++
 tests/prime_vgem.c      | 192 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 398 insertions(+)

-- 
2.21.0



More information about the Intel-gfx mailing list