[igt-dev] [PATCH i-g-t 0/4] Add crc32 calculation on dg2 gpu

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Tue Jun 7 05:24:07 UTC 2022


Add crc32 calculation library on gpu (dg2).

v2: use predication instead of cond_bbe with memory access.
v3: migrate crc32 tables to separate file to avoid license clashes.
v4: move common definitions to intel_reg.h, add docs
v5: addressing missed review comments

Zbigniew Kempczyński (4):
  lib/intel_reg: Add common MI_* macros to remove duplicates
  lib/igt_crc: Introduce common place for crc tables and functions
  lib/i915_crc: Introduce crc32 on gpu for DG2
  tests/api_intel_bb: Add crc32 checking test for DG2

 benchmarks/gem_wsim.c                         |  34 +-
 .../igt-gpu-tools/igt-gpu-tools-docs.xml      |   2 +
 lib/i915/i915_crc.c                           | 297 ++++++++++++++++++
 lib/i915/i915_crc.h                           |  27 ++
 lib/igt_crc.c                                 | 107 +++++++
 lib/igt_crc.h                                 |  31 ++
 lib/intel_reg.h                               |  45 +++
 lib/meson.build                               |   2 +
 tests/i915/api_intel_bb.c                     |  63 ++++
 tests/i915/gem_exec_fair.c                    |  27 --
 tests/i915/gem_exec_fence.c                   |  31 --
 tests/i915/gem_watchdog.c                     |  27 --
 tests/i915/gem_workarounds.c                  |   7 +-
 tests/i915/gen7_exec_parse.c                  |   8 +-
 tests/i915/gen9_exec_parse.c                  |  11 +-
 15 files changed, 589 insertions(+), 130 deletions(-)
 create mode 100644 lib/i915/i915_crc.c
 create mode 100644 lib/i915/i915_crc.h
 create mode 100644 lib/igt_crc.c
 create mode 100644 lib/igt_crc.h

-- 
2.32.0



More information about the igt-dev mailing list