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

Souza, Jose jose.souza at intel.com
Wed Jun 26 16:55:40 UTC 2024


On Tue, 2024-06-25 at 19:13 -0700, Ashutosh Dixit wrote:
> 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

Mesa/UMD uAPI user: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29312
Please lets push to make it part of the same kernel release as other OA patches.

Acked-by: José Roberto de Souza <jose.souza at intel.com>

> 
> 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(-)
> 



More information about the Intel-xe mailing list