[PATCH i-g-t v5 0/3] xe: Validate fixed CCS mode setting

Niranjana Vishwanathapura niranjana.vishwanathapura at intel.com
Thu Dec 7 21:24:23 UTC 2023


Validate static assignment of compute slices to a user selected
number of compute engines. Select number of compute engines by
writing it to the per-gt 'ccs_mode' sysfs interface. Validate
that compute kernels can be run on enabled CCS engines and
submitting jobs on disabled compute engines is not permitted.

NOTE: Corresponding driver changes is,
[PATCH v3 0/3] drm/xe: Enable fixed CCS mode

v2: Rebase
v3: Separate num_cslices sysfs interface
v4: Rebase
v5: Change __xe_exec_queue_create() return type to int,
    Make new intel_compute function xe specific

Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>

Niranjana Vishwanathapura (3):
  lib/xe: Add __xe_exec_queue_create()
  lib/intel_compute: Update intel_compute to run on specified engine
  tests/xe_compute: Validate ccs_mode setting

 lib/intel_compute.c      | 104 ++++++++++++++++++++-------
 lib/intel_compute.h      |   3 +
 lib/xe/xe_ioctl.c        |  29 ++++++--
 lib/xe/xe_ioctl.h        |   3 +
 tests/intel/xe_compute.c | 149 ++++++++++++++++++++++++++++++++++++++-
 tests/intel/xe_create.c  |  26 -------
 6 files changed, 256 insertions(+), 58 deletions(-)

-- 
2.43.0



More information about the igt-dev mailing list