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

Ashutosh Dixit ashutosh.dixit at intel.com
Wed Jun 26 02:13:41 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
v4: Revert to v1, which doesn't add new exec queue op's
v5: Same as v4, except added 'uapi' to Patch 2/2 title

Ashutosh Dixit (2):
  drm/xe/oa: Allow stream enable/disable functions to return error
  drm/xe/oa/uapi: Allow preemption to be disabled on the stream exec
    queue

 drivers/gpu/drm/xe/xe_oa.c       | 104 ++++++++++++++++++++++++++-----
 drivers/gpu/drm/xe/xe_oa_types.h |   3 +
 include/uapi/drm/xe_drm.h        |   6 ++
 3 files changed, 98 insertions(+), 15 deletions(-)

-- 
2.41.0



More information about the Intel-xe mailing list