]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe/oa/uapi: Allow preemption to be disabled on the stream exec queue
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Wed, 26 Jun 2024 18:18:17 +0000 (11:18 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 26 Jun 2024 22:25:46 +0000 (18:25 -0400)
commit406d058dc323ae152d380ac90153eb56a75850c1
treedfccad9269ee19fb6fd6ac04c9cc54068920e155
parent1bab7ecf5c10a0a529c06480692a544391053c20
drm/xe/oa/uapi: Allow preemption to be disabled on the stream exec queue

Mesa VK_KHR_performance_query use case requires preemption and timeslicing
to be disabled for the stream exec queue. Implement this functionality
here.

v2: Minor change to debug print to print both ret values (Umesh)

Acked-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240626181817.1516229-3-ashutosh.dixit@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_oa.c
drivers/gpu/drm/xe/xe_oa_types.h
include/uapi/drm/xe_drm.h