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

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Fri Jun 3 13:05:00 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.

Zbigniew Kempczyński (2):
  lib/i915_crc: Introduce crc32 on gpu for DG2
  tests/api_intel_bb: Add crc32 checking test for DG2

 lib/i915/i915_crc.c         | 311 ++++++++++++++++++++++++++++++++++++
 lib/i915/i915_crc.h         |  17 ++
 lib/i915/i915_crc32_table.c | 105 ++++++++++++
 lib/intel_reg.h             |   7 +
 lib/meson.build             |   1 +
 tests/i915/api_intel_bb.c   |  67 ++++++++
 6 files changed, 508 insertions(+)
 create mode 100644 lib/i915/i915_crc.c
 create mode 100644 lib/i915/i915_crc.h
 create mode 100644 lib/i915/i915_crc32_table.c

-- 
2.32.0



More information about the igt-dev mailing list