]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/oa/uapi: Add gt_id to struct drm_xe_oa_unit
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Tue, 2 Dec 2025 02:51:12 +0000 (18:51 -0800)
committerAshutosh Dixit <ashutosh.dixit@intel.com>
Thu, 4 Dec 2025 21:33:20 +0000 (13:33 -0800)
commit16e076b036583702bb47554d3931b5e674dd9a8e
tree4f182f5e809a80ef6eb888a9c9b590d09edeaa25
parent89f0b56f77c96c022cbc3b22d42664d0e93e3154
drm/xe/oa/uapi: Add gt_id to struct drm_xe_oa_unit

gt_id was previously omitted from 'struct drm_xe_oa_unit' because it could
be determine from hwe's attached to the OA unit. However, we now have OA
units which don't have any hwe's attached to them. Hence add gt_id to
'struct drm_xe_oa_unit' in order to provide this needed information to
userspace.

Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://patch.msgid.link/20251202025115.373546-3-ashutosh.dixit@intel.com
drivers/gpu/drm/xe/xe_query.c
include/uapi/drm/xe_drm.h