[PATCH i-g-t, v2 00/11] Prepare lib/intel_compute for SVM/system allocator, part 2

Francois Dugast francois.dugast at intel.com
Wed Apr 2 15:19:58 UTC 2025


This series contains more cleanup and preparation work to make IGT
compute usable with the SVM/system allocator, which has been merged
into XeKMD. It is a follow-up of [1].

The first 6 patches should not introduce functional changes. Some small
changes are intentionally not squashed in order to make review easier.

v2: Rebase, rework patch 0009 to prevent introducing a bug for DG2,
    extend use of local size constants to all indirect data

[1] https://patchwork.freedesktop.org/series/144360/

Francois Dugast (11):
  lib/intel_compute: Use common constant for surface state size
  lib/intel_compute: Use common constant for dynamic state size
  lib/intel_compute: Use common constant for indirect object size
  lib/intel_compute: Use common constant for binding table size
  lib/intel_compute: Use common constant for general state size
  lib/intel_compute: Use constant for binding table address
  lib/intel_compute: Compact memory map
  lib/intel_compute: Relocate input and output objects
  lib/intel_compute: Fix enqueued local size starting with xelpg
  lib/intel_compute: Use constants for thread groups and local work size
  lib/intel_compute: Make array size a dynamic parameter

 lib/intel_compute.c | 318 +++++++++++++++++++++++++++-----------------
 lib/intel_compute.h |   2 +
 2 files changed, 201 insertions(+), 119 deletions(-)

-- 
2.43.0



More information about the igt-dev mailing list