From: "Wang, X" <x.wang@intel.com>
To: Shuicheng Lin <shuicheng.lin@intel.com>,
<intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH 4/5] drm/xe/uapi: Fix code examples in xe_drm.h documentation
Date: Mon, 6 Apr 2026 17:11:54 -0700 [thread overview]
Message-ID: <7da0dd80-e18d-4aff-923c-416902b8f234@intel.com> (raw)
In-Reply-To: <20260331172049.3053871-11-shuicheng.lin@intel.com>
On 3/31/2026 10:20, Shuicheng Lin wrote:
> Fix incorrect field names and formatting in code examples:
> - .num_bb_per_exec -> .width (renamed struct field
> in exec_queue_create examples)
> - .num_eng_per_bb -> .num_placements (renamed struct
> field in exec_queue_create examples)
> - .atomic_val -> .atomic.val (correct nested struct
> field access in madvise example)
> - Remove unnecessary backslash escaping in UUID format
> string (%\08x -> %08x)
>
> Assisted-by: GitHub Copilot:claude-opus-4.6
> Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
> ---
> include/uapi/drm/xe_drm.h | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
> index 36627322448c..c2e8cf31a82a 100644
> --- a/include/uapi/drm/xe_drm.h
> +++ b/include/uapi/drm/xe_drm.h
> @@ -1401,8 +1401,8 @@ struct drm_xe_vm_get_property {
> * struct drm_xe_exec_queue_create exec_queue_create = {
> * .extensions = 0,
> * .vm_id = vm,
> - * .num_bb_per_exec = 1,
> - * .num_eng_per_bb = 1,
> + * .width = 1,
> + * .num_placements = 1,
> * .instances = to_user_pointer(&instance),
> * };
> * ioctl(fd, DRM_IOCTL_XE_EXEC_QUEUE_CREATE, &exec_queue_create);
> @@ -1416,8 +1416,8 @@ struct drm_xe_vm_get_property {
> * .flags = DRM_XE_EXEC_QUEUE_LOW_LATENCY_HINT,
> * .extensions = 0,
> * .vm_id = vm,
> - * .num_bb_per_exec = 1,
> - * .num_eng_per_bb = 1,
> + * .width = 1,
> + * .num_placements = 1,
> * .instances = to_user_pointer(&instance),
> * };
> * ioctl(fd, DRM_IOCTL_XE_EXEC_QUEUE_CREATE, &exec_queue_create);
> @@ -2019,7 +2019,7 @@ struct drm_xe_oa_config {
> /** @extensions: Pointer to the first extension struct, if any */
> __u64 extensions;
>
> - /** @uuid: String formatted like "%\08x-%\04x-%\04x-%\04x-%\012x" */
> + /** @uuid: String formatted like "%08x-%04x-%04x-%04x-%012x" */
> char uuid[36];
>
> /** @n_regs: Number of regs in @regs_ptr */
> @@ -2181,7 +2181,7 @@ struct drm_xe_query_eu_stall {
> * .start = 0x100000,
> * .range = 0x2000,
> * .type = DRM_XE_MEM_RANGE_ATTR_ATOMIC,
> - * .atomic_val = DRM_XE_ATOMIC_DEVICE,
> + * .atomic.val = DRM_XE_ATOMIC_DEVICE,
Reviewed-by: Xin Wang <x.wang@intel.com>
> * };
> *
> * ioctl(fd, DRM_IOCTL_XE_MADVISE, &madvise);
next prev parent reply other threads:[~2026-04-07 0:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-31 17:20 [PATCH 0/5] drm/xe/uapi: Update xe_drm.h documentation Shuicheng Lin
2026-03-31 17:20 ` [PATCH 1/5] drm/xe/uapi: Fix typos and spelling errors in " Shuicheng Lin
2026-04-06 20:49 ` Wang, X
2026-03-31 17:20 ` [PATCH 2/5] drm/xe/uapi: Fix grammar " Shuicheng Lin
2026-04-06 20:51 ` Wang, X
2026-03-31 17:20 ` [PATCH 3/5] drm/xe/uapi: Fix wrong names and references in xe_drm.h Shuicheng Lin
2026-04-07 0:07 ` Wang, X
2026-03-31 17:20 ` [PATCH 4/5] drm/xe/uapi: Fix code examples in xe_drm.h documentation Shuicheng Lin
2026-04-07 0:11 ` Wang, X [this message]
2026-03-31 17:20 ` [PATCH 5/5] drm/xe/uapi: Fix doc formatting and completeness in xe_drm.h Shuicheng Lin
2026-04-07 0:15 ` Wang, X
2026-03-31 18:53 ` ✗ CI.checkpatch: warning for drm/xe/uapi: Update xe_drm.h documentation (rev2) Patchwork
2026-03-31 18:54 ` ✓ CI.KUnit: success " Patchwork
2026-03-31 19:28 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-01 1:40 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-04-07 0:20 ` [PATCH 0/5] drm/xe/uapi: Update xe_drm.h documentation Wang, X
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=7da0dd80-e18d-4aff-923c-416902b8f234@intel.com \
--to=x.wang@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=shuicheng.lin@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