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

Niranjana Vishwanathapura niranjana.vishwanathapura at intel.com
Wed Nov 29 02:56:04 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 v2 0/3] drm/xe: Enable fixed CCS mode

v2: 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      |  80 +++++++++++++++------
 lib/intel_compute.h      |   3 +
 lib/xe/xe_ioctl.c        |  29 ++++++--
 lib/xe/xe_ioctl.h        |   3 +
 tests/intel/xe_compute.c | 152 ++++++++++++++++++++++++++++++++++++++-
 tests/intel/xe_create.c  |  26 -------
 6 files changed, 237 insertions(+), 56 deletions(-)

-- 
2.21.0.rc0.32.g243a4c7e27



More information about the igt-dev mailing list