public inbox for intel-xe@lists.freedesktop.org
 help / color / mirror / Atom feed
From: "Wang, X" <x.wang@intel.com>
To: Shuicheng Lin <shuicheng.lin@intel.com>,
	<intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH 1/5] drm/xe/uapi: Fix typos and spelling errors in xe_drm.h documentation
Date: Mon, 6 Apr 2026 13:49:43 -0700	[thread overview]
Message-ID: <3b49de7b-7d36-4037-9283-12aed98c4aba@intel.com> (raw)
In-Reply-To: <20260331172049.3053871-8-shuicheng.lin@intel.com>


On 3/31/2026 10:20, Shuicheng Lin wrote:
> Fix the following typos and spelling errors in doc comments:
> - creaed -> created (drm_xe_query_config)
> - mmaping -> mmapping (drm_xe_gem_create)
> - 0xdeadbeaf -> 0xdeadbeef (drm_xe_gem_mmap_offset)
> - x2 and xe3 platform -> Xe2 and Xe3 platforms
> - flat -> flag (drm_xe_wait_user_fence)
> - MONOTONIC_CLOCK -> CLOCK_MONOTONIC (correct POSIX name)
> - neverending -> never ending (drm_xe_wait_user_fence)
>
> Assisted-by: GitHub Copilot:claude-opus-4.6
> Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
> ---
>   include/uapi/drm/xe_drm.h | 16 ++++++++--------
>   1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
> index ae2fda23ce7c..f17355684083 100644
> --- a/include/uapi/drm/xe_drm.h
> +++ b/include/uapi/drm/xe_drm.h
> @@ -410,7 +410,7 @@ struct drm_xe_query_mem_regions {
>    *      device supports the userspace hint %DRM_XE_GEM_CREATE_FLAG_NO_COMPRESSION.
>    *      This is exposed only on Xe2+.
>    *    - %DRM_XE_QUERY_CONFIG_FLAG_HAS_DISABLE_STATE_CACHE_PERF_FIX - Flag is set
> - *      if a queue can be creaed with
> + *      if a queue can be created with
>    *      %DRM_XE_EXEC_QUEUE_SET_DISABLE_STATE_CACHE_PERF_FIX
>    *  - %DRM_XE_QUERY_CONFIG_MIN_ALIGNMENT - Minimal memory alignment
>    *    required by this device, typically SZ_4K or SZ_64K
> @@ -888,7 +888,7 @@ struct drm_xe_gem_create {
>   #define DRM_XE_GEM_CPU_CACHING_WC                      2
>   	/**
>   	 * @cpu_caching: The CPU caching mode to select for this object. If
> -	 * mmaping the object the mode selected here will also be used. The
> +	 * mmapping the object the mode selected here will also be used. The
>   	 * exception is when mapping system memory (including data evicted
>   	 * to system) on discrete GPUs. The caching mode selected will
>   	 * then be overridden to DRM_XE_GEM_CPU_CACHING_WB, and coherency
> @@ -931,7 +931,7 @@ struct drm_xe_gem_create {
>    *
>    *     err = ioctl(fd, DRM_IOCTL_XE_GEM_MMAP_OFFSET, &mmo);
>    *     map = mmap(NULL, size, PROT_WRITE, MAP_SHARED, fd, mmo.offset);
> - *     map[i] = 0xdeadbeaf; // issue barrier
> + *     map[i] = 0xdeadbeef; // issue barrier
>    */
>   struct drm_xe_gem_mmap_offset {
>   	/** @extensions: Pointer to the first extension struct, if any */
> @@ -958,8 +958,8 @@ struct drm_xe_gem_mmap_offset {
>    *  - %DRM_XE_VM_CREATE_FLAG_SCRATCH_PAGE - Map the whole virtual address
>    *    space of the VM to scratch page. A vm_bind would overwrite the scratch
>    *    page mapping. This flag is mutually exclusive with the
> - *    %DRM_XE_VM_CREATE_FLAG_FAULT_MODE flag, with an exception of on x2 and
> - *    xe3 platform.
> + *    %DRM_XE_VM_CREATE_FLAG_FAULT_MODE flag, with an exception on Xe2 and
> + *    Xe3 platforms.
>    *  - %DRM_XE_VM_CREATE_FLAG_LR_MODE - An LR, or Long Running VM accepts
>    *    exec submissions to its exec_queues that don't have an upper time
>    *    limit on the job execution time. But exec submissions to these
> @@ -1695,9 +1695,9 @@ struct drm_xe_wait_user_fence {
>   	 * Without DRM_XE_UFENCE_WAIT_FLAG_ABSTIME flag set (relative timeout)
>   	 * it contains timeout expressed in nanoseconds to wait (fence will
>   	 * expire at now() + timeout).
> -	 * When DRM_XE_UFENCE_WAIT_FLAG_ABSTIME flat is set (absolute timeout) wait
> -	 * will end at timeout (uses system MONOTONIC_CLOCK).
> -	 * Passing negative timeout leads to neverending wait.
> +	 * When DRM_XE_UFENCE_WAIT_FLAG_ABSTIME flag is set (absolute timeout) wait
> +	 * will end at timeout (uses system CLOCK_MONOTONIC).
> +	 * Passing negative timeout leads to never ending wait.
Reviewed-by: Xin Wang <x.wang@intel.com>
>   	 *
>   	 * On relative timeout this value is updated with timeout left
>   	 * (for restarting the call in case of signal delivery).

  reply	other threads:[~2026-04-06 20:49 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 [this message]
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
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=3b49de7b-7d36-4037-9283-12aed98c4aba@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