[igt-dev] [PATCH i-g-t 0/3] Add i915 blt library + gem_ccs test

Siddiqui, Ayaz A ayaz.siddiqui at intel.com
Wed Feb 16 11:01:02 UTC 2022



> -----Original Message-----
> From: Kempczynski, Zbigniew <zbigniew.kempczynski at intel.com>
> Sent: Wednesday, February 16, 2022 2:49 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Kempczynski, Zbigniew <zbigniew.kempczynski at intel.com>; Singh,
> Apoorva1 <apoorva1.singh at intel.com>; Siddiqui, Ayaz A
> <ayaz.siddiqui at intel.com>
> Subject: [PATCH i-g-t 0/3] Add i915 blt library + gem_ccs test
> 
> Enable DG2+ testing of flatccs.
> 
> Idea of library comes from Ayaz, just implementation differs due to some
> reasons discovered during different tiling testing.
> 
> Currently I used default (0) mocs to avoid kernel differences.
MOCS#0 is not a valid mocs index so it should not be programmed by umd.
May be you can move +intel_get_uc_mocs() to some common lib from 

63db0bc86c lib/rendercopy_gen9: Program MOCS value based on platform

Regards
-Ayaz

> We may change it to UC/WB when kernel interface will be stabilized and
> merged.
> 
> v3: rebased on top of local DG2 pciids
> 
> Cc: Apoorva Singh <apoorva1.singh at intel.com>
> Cc: Ayaz A Siddiqui <ayaz.siddiqui at intel.com>
> 
> Chris Wilson (1):
>   i915/gem_engine_topology: Only use the main copy engines for
>     XY_BLOCK_COPY
> 
> Zbigniew Kempczyński (2):
>   lib/i915_blt: Add library for blitter
>   tests/gem_ccs: Verify uncompressed and compressed blits
> 
>  .../igt-gpu-tools/igt-gpu-tools-docs.xml      |    1 +
>  lib/i915/gem_engine_topology.c                |   38 +
>  lib/i915/gem_engine_topology.h                |    5 +
>  lib/i915/i915_blt.c                           | 1087 +++++++++++++++++
>  lib/i915/i915_blt.h                           |  196 +++
>  lib/meson.build                               |    1 +
>  tests/i915/gem_ccs.c                          |  485 ++++++++
>  tests/meson.build                             |    1 +
>  8 files changed, 1814 insertions(+)
>  create mode 100644 lib/i915/i915_blt.c
>  create mode 100644 lib/i915/i915_blt.h
>  create mode 100644 tests/i915/gem_ccs.c
> 
> --
> 2.32.0



More information about the igt-dev mailing list