Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 382E712A753 for ; Tue, 7 Jun 2022 05:24:21 +0000 (UTC) From: =?UTF-8?q?Zbigniew=20Kempczy=C5=84ski?= To: igt-dev@lists.freedesktop.org Date: Tue, 7 Jun 2022 07:24:07 +0200 Message-Id: <20220607052411.7357-1-zbigniew.kempczynski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 0/4] Add crc32 calculation on dg2 gpu List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: 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