Commit dc90ead4 authored by Matthew Auld's avatar Matthew Auld
Browse files

drm/xe/uapi: update used tracking kernel-doc



In commit 4d0b035f ("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: default avatarUlisses Furquim <ulisses.furquim@intel.com>
Fixes: 4d0b035f ("drm/xe/uapi: loosen used tracking restriction")
Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
Cc: Sanjay Yadav <sanjay.kumar.yadav@intel.com>
Reviewed-by: default avatarSanjay Yadav <sanjay.kumar.yadav@intel.com>
Link: https://patch.msgid.link/20260130125105.451229-2-matthew.auld@intel.com
parent 944a3329
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -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).
	 */