[PATCH 0/3] drm/xe/oa: Add NO_PREEMPT property

Ashutosh Dixit ashutosh.dixit at intel.com
Tue Jun 25 20:15:15 UTC 2024


Add DRM_XE_OA_PROPERTY_NO_PREEMPT property. This is intended to be Xe GuC
equivalent of i915 property DRM_I915_PERF_PROP_HOLD_PREEMPTION.

v2: Introduce no_preempt exec queue op
v3: Introduce set_no_preempt and clear_no_preempt exec queue op's

Ashutosh Dixit (3):
  drm/xe/oa: Allow stream enable/disable functions to return error
  drm/xe: Exec queue op's to enable/disable preemption and timeslicing
  drm/xe/oa: Allow preemption to be disabled on the stream exec queue

 drivers/gpu/drm/xe/xe_exec_queue_types.h |  4 ++
 drivers/gpu/drm/xe/xe_execlist.c         | 14 +++++
 drivers/gpu/drm/xe/xe_guc_submit.c       | 45 ++++++++++++++++
 drivers/gpu/drm/xe/xe_oa.c               | 67 ++++++++++++++++++------
 drivers/gpu/drm/xe/xe_oa_types.h         |  3 ++
 include/uapi/drm/xe_drm.h                |  6 +++
 6 files changed, 124 insertions(+), 15 deletions(-)

-- 
2.41.0



More information about the Intel-xe mailing list