[RFC,i-g-t,0/2] tests/prime_vgem: Examine blitter access path
mbox series

Message ID 20200109140125.18483-1-janusz.krzysztofik@linux.intel.com
Headers show
  • tests/prime_vgem: Examine blitter access path
Related show


Janusz Krzysztofik Jan. 9, 2020, 2:01 p.m. UTC
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(+)