summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2026-01-30 15:51:06 +0300
committerMatthew Auld <matthew.auld@intel.com>2026-02-09 13:09:15 +0300
commitdc90ead44054736131f73b1dd319b8be06088d36 (patch)
tree0ad86249ecbd6b97deff9c6e56deec2e366a7bd2 /include
parent944a3329b05510d55c69c2ef455136e2fc02de29 (diff)
downloadlinux-dc90ead44054736131f73b1dd319b8be06088d36.tar.xz
drm/xe/uapi: update used tracking kernel-doc
In commit 4d0b035fd6da ("drm/xe/uapi: loosen used tracking restriction") we dropped the CAP_PERMON restriction but missed updating the corresponding kernel-doc. Fix that. v2 (Sanjay): - Don't drop the note around the extra cpu_visible_used expectations. Reported-by: Ulisses Furquim <ulisses.furquim@intel.com> Fixes: 4d0b035fd6da ("drm/xe/uapi: loosen used tracking restriction") Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Sanjay Yadav <sanjay.kumar.yadav@intel.com> Reviewed-by: Sanjay Yadav <sanjay.kumar.yadav@intel.com> Link: https://patch.msgid.link/20260130125105.451229-2-matthew.auld@intel.com
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/xe_drm.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index 077e66a682e2..c9e70f78e723 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -335,10 +335,6 @@ struct drm_xe_mem_region {
__u64 total_size;
/**
* @used: Estimate of the memory used in bytes for this region.
- *
- * Requires CAP_PERFMON or CAP_SYS_ADMIN to get reliable
- * accounting. Without this the value here will always equal
- * zero.
*/
__u64 used;
/**
@@ -363,9 +359,7 @@ struct drm_xe_mem_region {
* @cpu_visible_used: Estimate of CPU visible memory used, in
* bytes.
*
- * Requires CAP_PERFMON or CAP_SYS_ADMIN to get reliable
- * accounting. Without this the value here will always equal
- * zero. Note this is only currently tracked for
+ * Note this is only currently tracked for
* DRM_XE_MEM_REGION_CLASS_VRAM regions (for other types the value
* here will always be zero).
*/