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

Niranjana Vishwanathapura niranjana.vishwanathapura at intel.com
Wed Nov 1 23:53:00 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-tile '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.

v2: Validate by running compute kernel on all possible CCS modes
    and enabled CCS engines. Ensure no exec queue is created with
    disabled CCS engines.

NOTE: Corresponding driver changes is,
[RFC v2 0/2] drm/xe/pvc: Enable fixed CCS mode

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      |  76 ++++++++++++++------
 lib/intel_compute.h      |   3 +
 lib/xe/xe_ioctl.c        |  29 ++++++--
 lib/xe/xe_ioctl.h        |   3 +
 tests/intel/xe_compute.c | 146 +++++++++++++++++++++++++++++++++++++++
 tests/intel/xe_create.c  |  26 -------
 6 files changed, 229 insertions(+), 54 deletions(-)

-- 
2.21.0.rc0.32.g243a4c7e27



More information about the igt-dev mailing list