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

Niranjana Vishwanathapura niranjana.vishwanathapura at intel.com
Wed Dec 6 20:00:52 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

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      |  85 +++++++++++++++-------
 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, 237 insertions(+), 58 deletions(-)

-- 
2.21.0.rc0.32.g243a4c7e27



More information about the igt-dev mailing list