From: Matthew Auld <matthew.auld@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Ulisses Furquim <ulisses.furquim@intel.com>,
Sanjay Yadav <sanjay.kumar.yadav@intel.com>
Subject: [PATCH] drm/xe/uapi: update used tracking kernel-doc
Date: Fri, 30 Jan 2026 11:01:01 +0000 [thread overview]
Message-ID: <20260130110100.439832-2-matthew.auld@intel.com> (raw)
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.
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>
---
include/uapi/drm/xe_drm.h | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index 077e66a682e2..e2b62a1b6118 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;
/**
@@ -362,12 +358,6 @@ 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
- * DRM_XE_MEM_REGION_CLASS_VRAM regions (for other types the value
- * here will always be zero).
*/
__u64 cpu_visible_used;
/** @reserved: Reserved */
--
2.52.0
next reply other threads:[~2026-01-30 11:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-30 11:01 Matthew Auld [this message]
2026-01-30 11:31 ` ✗ CI.checkpatch: warning for drm/xe/uapi: update used tracking kernel-doc Patchwork
2026-01-30 11:32 ` ✓ CI.KUnit: success " Patchwork
2026-01-30 12:09 ` ✓ Xe.CI.BAT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260130110100.439832-2-matthew.auld@intel.com \
--to=matthew.auld@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=sanjay.kumar.yadav@intel.com \
--cc=ulisses.furquim@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox