[igt-dev] [PATCH i-g-t 0/7] Extend compute square to i915 and Xe

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Thu Aug 17 09:46:45 UTC 2023


Even we already got gem|xe_gpgpu_fill we'd like to have a little
bit more complex compute test. Pipeline comes from reversing aub
dumped from hello.c square compute.

This series enables compute on TGL, DG2, ATS-M for both i915 and Xe.
I've noticed first run on DG2 Xe causes hang whether next run is fine.
On ATS-M there's hang for each binary run. This was main reason I've
added i915 version for compare - I don't observe such hangs there.

Cc: Christoph Manszewski <christoph.manszewski at intel.com>
Cc: Francois Dugast <francois.dugast at intel.com>
Cc: Mauro Carvalho Chehab <mchehab at kernel.org>

Zbigniew Kempczyński (7):
  lib/intel_compute: Migrate xe_compute library to intel_compute
  lib/intel_compute: Reorganize the code for i915 version preparation
  lib/intel_compute: Add name field for debugging purposes
  lib/intel_compute: Add i915 path in compute library
  i915/gem_compute: Add test which runs compute workload on i915
  lib/intel_compute: Add XeHP implementation of compute pipeline
  tests/gem|xe_compute: Update documentation regarding test requirements

 lib/intel_compute.c                           | 924 ++++++++++++++++++
 lib/{xe/xe_compute.h => intel_compute.h}      |  12 +-
 ...rnels.c => intel_compute_square_kernels.c} |  60 +-
 lib/meson.build                               |   4 +-
 lib/xe/xe_compute.c                           | 488 ---------
 tests/i915/gem_compute.c                      |  45 +
 tests/meson.build                             |   1 +
 tests/xe/xe_compute.c                         |   7 +-
 8 files changed, 1039 insertions(+), 502 deletions(-)
 create mode 100644 lib/intel_compute.c
 rename lib/{xe/xe_compute.h => intel_compute.h} (74%)
 rename lib/{xe/xe_compute_square_kernels.c => intel_compute_square_kernels.c} (50%)
 delete mode 100644 lib/xe/xe_compute.c
 create mode 100644 tests/i915/gem_compute.c

-- 
2.34.1



More information about the igt-dev mailing list