]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/xe/uapi: update used tracking kernel-doc
authorMatthew Auld <matthew.auld@intel.com>
Fri, 30 Jan 2026 12:51:06 +0000 (12:51 +0000)
committerMatthew Auld <matthew.auld@intel.com>
Mon, 9 Feb 2026 10:09:15 +0000 (10:09 +0000)
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
include/uapi/drm/xe_drm.h

index 077e66a682e298ccf9eec11ed54251e95e4a39bf..c9e70f78e7238b910b3b73d043a1d16a2cbe8613 100644 (file)
@@ -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).
         */