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

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Tue Sep 5 13:33:00 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, PVC selectively 
for i915 and Xe.

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 (9):
  lib/intel_compute: Migrate xe_compute library to intel_compute
  lib/intel_compute: Add compatibility flags for running 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
  intel/gem_compute: Add test which runs compute workload on i915
  lib/intel_compute: Add XeHP implementation of compute pipeline
  lib/intel_compute: Adding pvc compute pipeline implementation
  tests/gem|xe_compute: Update documentation regarding test requirements

 lib/intel_compute.c                      | 1158 ++++++++++++++++++++++
 lib/{xe/xe_compute.h => intel_compute.h} |   12 +-
 lib/intel_compute_square_kernels.c       |  166 ++++
 lib/meson.build                          |    4 +-
 lib/xe/xe_compute.c                      |  488 ---------
 lib/xe/xe_compute_square_kernels.c       |   71 --
 tests/intel/gem_compute.c                |   45 +
 tests/intel/xe_compute.c                 |    7 +-
 tests/meson.build                        |    1 +
 9 files changed, 1381 insertions(+), 571 deletions(-)
 create mode 100644 lib/intel_compute.c
 rename lib/{xe/xe_compute.h => intel_compute.h} (74%)
 create mode 100644 lib/intel_compute_square_kernels.c
 delete mode 100644 lib/xe/xe_compute.c
 delete mode 100644 lib/xe/xe_compute_square_kernels.c
 create mode 100644 tests/intel/gem_compute.c

-- 
2.34.1



More information about the igt-dev mailing list