<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/uapi/drm/xe_drm.h, branch v7.2-rc1</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v7.2-rc1</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v7.2-rc1'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2026-04-08T16:22:26+00:00</updated>
<entry>
<title>drm/xe/uapi: Fix doc formatting and completeness in xe_drm.h</title>
<updated>2026-04-08T16:22:26+00:00</updated>
<author>
<name>Shuicheng Lin</name>
<email>shuicheng.lin@intel.com</email>
</author>
<published>2026-04-07T03:00:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5150b57dacf9563ab29661c8e8a37a73f5a9fc54'/>
<id>urn:sha1:5150b57dacf9563ab29661c8e8a37a73f5a9fc54</id>
<content type='text'>
- Fix missing leading space before closing */ in
  comment block
- Add DRM_IOCTL_XE_EXEC_QUEUE_SET_PROPERTY to the
  IOCTL overview list
- Add missing query types to the device query doc list:
  DRM_XE_DEVICE_QUERY_UC_FW_VERSION,
  DRM_XE_DEVICE_QUERY_OA_UNITS,
  DRM_XE_DEVICE_QUERY_EU_STALL
- Fix ioctl's -&gt; ioctls (not possessive, 2 occurrences)
- Remove duplicate parameter docs from
  drm_xe_mem_range_attr overview (already documented
  as inline member comments)
- Fix extra whitespace before /** on 2 lines in
  drm_xe_mem_range_attr
- Add missing blank line before DRM_XE_VM_BIND_FLAG_DECOMPRESS
  bullet to fix RST block quote warning

v3: more fix (item 4 to 7).

Assisted-by: GitHub Copilot:claude-opus-4.6
Cc: Xin Wang &lt;x.wang@intel.com&gt;
Reviewed-by: Xin Wang &lt;x.wang@intel.com&gt;
Link: https://patch.msgid.link/20260407030046.3394004-7-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin &lt;shuicheng.lin@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/xe/uapi: Fix code examples in xe_drm.h documentation</title>
<updated>2026-04-08T16:22:26+00:00</updated>
<author>
<name>Shuicheng Lin</name>
<email>shuicheng.lin@intel.com</email>
</author>
<published>2026-04-07T03:00:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=96cc9d79df5f7092c3807fad0d2fc3415cbd66b2'/>
<id>urn:sha1:96cc9d79df5f7092c3807fad0d2fc3415cbd66b2</id>
<content type='text'>
Fix incorrect field names and formatting in code examples:
- .num_bb_per_exec -&gt; .width (renamed struct field
  in exec_queue_create examples)
- .num_eng_per_bb -&gt; .num_placements (renamed struct
  field in exec_queue_create examples)
- .atomic_val -&gt; .atomic.val (correct nested struct
  field access in madvise example)
- Remove unnecessary backslash escaping in UUID format
  string (%\08x -&gt; %08x)
- Fix descriptive text trapped inside code-block in
  exec_queue_create doc (split into two code blocks)

v3: one more fix of split code-block in exec_queue_create doc.

Assisted-by: GitHub Copilot:claude-opus-4.6
Cc: Xin Wang &lt;x.wang@intel.com&gt;
Reviewed-by: Xin Wang &lt;x.wang@intel.com&gt;
Link: https://patch.msgid.link/20260407030046.3394004-6-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin &lt;shuicheng.lin@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/xe/uapi: Fix kernel-doc cross-reference syntax in xe_drm.h</title>
<updated>2026-04-08T16:22:26+00:00</updated>
<author>
<name>Shuicheng Lin</name>
<email>shuicheng.lin@intel.com</email>
</author>
<published>2026-04-07T03:00:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4bd87e7c4d467ce1f9e3b56abebeffc2ba45a2fb'/>
<id>urn:sha1:4bd87e7c4d467ce1f9e3b56abebeffc2ba45a2fb</id>
<content type='text'>
Fix incorrect kernel-doc cross-reference markup syntax
throughout xe_drm.h:
- @struct_name -&gt; &amp;struct name for cross-references to other
  structs (19 occurrences)
- struct @name -&gt; &amp;struct name where struct keyword was
  mixed with @ syntax (8 occurrences)
- enum @name -&gt; &amp;enum name for cross-references to other
  enums (5 occurrences)
- &amp;CONSTANT / @CONSTANT -&gt; %CONSTANT for defines and enum
  values (15 occurrences)
- @field references to members of other structs -&gt; plain text,
  since @ only applies to the current struct's members
  (9 occurrences)

Per kernel-doc conventions (Documentation/doc-guide/kernel-doc.rst):
- '&amp;struct name' creates hyperlinks to struct definitions
- '&amp;enum name' creates hyperlinks to enum definitions
- '%NAME' references constants and defines
- '@name' is only for parameters/members of the current context

Assisted-by: GitHub Copilot:claude-opus-4.6
Suggested-by: Xin Wang &lt;x.wang@intel.com&gt;
Reviewed-by: Xin Wang &lt;x.wang@intel.com&gt;
Link: https://patch.msgid.link/20260407030046.3394004-5-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin &lt;shuicheng.lin@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/xe/uapi: Fix wrong names and references in xe_drm.h</title>
<updated>2026-04-08T16:22:25+00:00</updated>
<author>
<name>Shuicheng Lin</name>
<email>shuicheng.lin@intel.com</email>
</author>
<published>2026-04-07T03:00:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ea842c235828152258fc5197212e896bc59d7b83'/>
<id>urn:sha1:ea842c235828152258fc5197212e896bc59d7b83</id>
<content type='text'>
Fix incorrect field names, struct names, ioctl names, and
descriptions in doc comments:
- probed_size -&gt; @cpu_visible_size (correct field name)
- @flags description was copy of @placement -&gt;
  fix to reference DRM_XE_GEM_CREATE_FLAG_*
- %XE_PXP_HWDRM_DEFAULT_SESSION -&gt;
  %DRM_XE_PXP_HWDRM_DEFAULT_SESSION (missing DRM_ prefix)
- Remove undefined %DRM_XE_UFENCE_WAIT_FLAG_SOFT_OP
- &amp;DRM_XE_OBSERVATION -&gt; &amp;DRM_IOCTL_XE_OBSERVATION
- id's/struct's -&gt; IDs/structs (fix incorrect possessive forms)
- drm_xe_query_oa_units -&gt; drm_xe_oa_unit
- DRM_IOCTL_XE_VM_QUERY_MEM_RANGES_ATTRS -&gt;
  DRM_IOCTL_XE_VM_QUERY_MEM_RANGE_ATTRS
- DRM_IOCTL_XE_VM_QUERY_MEM_ATTRIBUTES -&gt;
  DRM_IOCTL_XE_VM_QUERY_MEM_RANGE_ATTRS
- @sizeof_mem_ranges_attr -&gt; @sizeof_mem_range_attr
- @vector_of_vma_mem_attr -&gt; @vector_of_mem_attr

v3: id -&gt; ID. (Xin)
    split cross-reference fix to seperate patch.

Assisted-by: GitHub Copilot:claude-opus-4.6
Cc: Xin Wang &lt;x.wang@intel.com&gt;
Reviewed-by: Xin Wang &lt;x.wang@intel.com&gt;
Link: https://patch.msgid.link/20260407030046.3394004-4-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin &lt;shuicheng.lin@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/xe/uapi: Fix grammar errors in xe_drm.h documentation</title>
<updated>2026-04-08T16:22:25+00:00</updated>
<author>
<name>Shuicheng Lin</name>
<email>shuicheng.lin@intel.com</email>
</author>
<published>2026-04-07T03:00:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=65d53c13d43b8b5690c326807c1535b1d19138e8'/>
<id>urn:sha1:65d53c13d43b8b5690c326807c1535b1d19138e8</id>
<content type='text'>
Fix various grammar issues in doc comments:
- flag are only valid -&gt; flag is only valid
- should only ever used -&gt; should only ever be used
- if isn't already -&gt; if it isn't already
- Type of the this -&gt; Type of this
- When sync passed in -&gt; When sync is passed in
- the users responsibility -&gt; the user's responsibility
- must qword aligned -&gt; must be qword aligned
- for a observation -&gt; for an observation
- a memory ranges -&gt; memory ranges
- for each memory ranges -&gt; for each memory range.
- Second ioctl call -&gt; second ioctl call

Assisted-by: GitHub Copilot:claude-opus-4.6
Reviewed-by: Xin Wang &lt;x.wang@intel.com&gt;
Link: https://patch.msgid.link/20260407030046.3394004-3-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin &lt;shuicheng.lin@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/xe/uapi: Fix typos and spelling errors in xe_drm.h documentation</title>
<updated>2026-04-08T16:22:25+00:00</updated>
<author>
<name>Shuicheng Lin</name>
<email>shuicheng.lin@intel.com</email>
</author>
<published>2026-04-07T03:00:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3233db7682e759d101028285386ee7a11183fa2a'/>
<id>urn:sha1:3233db7682e759d101028285386ee7a11183fa2a</id>
<content type='text'>
Fix the following typos and spelling errors in doc comments:
- creaed -&gt; created (drm_xe_query_config)
- mmaping -&gt; mmapping (drm_xe_gem_create)
- 0xdeadbeaf -&gt; 0xdeadbeef (drm_xe_gem_mmap_offset)
- x2 and xe3 platform -&gt; Xe2 and Xe3 platforms
- flat -&gt; flag (drm_xe_wait_user_fence)
- MONOTONIC_CLOCK -&gt; CLOCK_MONOTONIC (correct POSIX name)
- neverending -&gt; never ending (drm_xe_wait_user_fence)

Assisted-by: GitHub Copilot:claude-opus-4.6
Reviewed-by: Xin Wang &lt;x.wang@intel.com&gt;
Link: https://patch.msgid.link/20260407030046.3394004-2-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin &lt;shuicheng.lin@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/xe/uapi: Add UAPI support for purgeable buffer objects</title>
<updated>2026-03-27T02:56:51+00:00</updated>
<author>
<name>Himal Prasad Ghimiray</name>
<email>himal.prasad.ghimiray@intel.com</email>
</author>
<published>2026-03-26T13:08:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f99a05cc0b85fadd109fb3250fceccc5eaad3830'/>
<id>urn:sha1:f99a05cc0b85fadd109fb3250fceccc5eaad3830</id>
<content type='text'>
Extend the DRM_XE_MADVISE ioctl to support purgeable buffer object
management by adding DRM_XE_VMA_ATTR_PURGEABLE_STATE attribute type.

This allows userspace applications to provide memory usage hints to
the kernel for better memory management under pressure:

- WILLNEED: Buffer is needed and should not be purged. If the BO was
  previously purged, retained field returns 0 indicating backing store
  was lost (once purged, always purged semantics matching i915).

- DONTNEED: Buffer is not currently needed and may be purged by the
  kernel under memory pressure to free resources. Only applies to
  non-shared BOs.

  To prevent undefined behavior, the following operations are blocked
  while a BO is in DONTNEED state:
  - New mmap() operations return -EBUSY
  - VM_BIND operations return -EBUSY
  - New dma-buf exports return -EBUSY
  - CPU page faults return SIGBUS
  - GPU page faults fail with -EACCES

  This ensures applications cannot use a BO while marked as DONTNEED,
  preventing erratic behavior when the kernel purges the backing store.

The implementation includes a 'retained' output field (matching i915's
drm_i915_gem_madvise.retained) that indicates whether the BO's backing
store still exists (1) or has been purged (0).

Added DRM_XE_QUERY_CONFIG_FLAG_HAS_PURGING_SUPPORT flag to allow
userspace to detect kernel support for purgeable buffer objects
before attempting to use the feature.

Cc: Matthew Brost &lt;matthew.brost@intel.com&gt;
Acked-by: José Roberto de Souza &lt;jose.souza@intel.com&gt;
Reviewed-by: Thomas Hellström &lt;thomas.hellstrom@linux.intel.com&gt;
Signed-off-by: Himal Prasad Ghimiray &lt;himal.prasad.ghimiray@intel.com&gt;
Signed-off-by: Arvind Yadav &lt;arvind.yadav@intel.com&gt;
Signed-off-by: Matthew Brost &lt;matthew.brost@intel.com&gt;
Link: https://patch.msgid.link/20260326130843.3545241-2-arvind.yadav@intel.com
</content>
</entry>
<entry>
<title>drm/xe/uapi: Define drm_xe_vm_get_property</title>
<updated>2026-03-26T01:05:56+00:00</updated>
<author>
<name>Jonathan Cavitt</name>
<email>jonathan.cavitt@intel.com</email>
</author>
<published>2026-03-24T15:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=716c11d462c598328edca2565e8d25457c6ee3d6'/>
<id>urn:sha1:716c11d462c598328edca2565e8d25457c6ee3d6</id>
<content type='text'>
Add initial declarations for the drm_xe_vm_get_property ioctl.

v2:
- Expand kernel docs for drm_xe_vm_get_property (Jianxun)

v3:
- Remove address type external definitions (Jianxun)
- Add fault type to xe_drm_fault struct (Jianxun)

v4:
- Remove engine class and instance (Ivan)

v5:
- Add declares for fault type, access type, and fault level (Matt Brost,
  Ivan)

v6:
- Fix inconsistent use of whitespace in defines

v7:
- Rebase and refactor (jcavitt)

v8:
- Rebase (jcavitt)

v9:
- Clarify address is canonical (José)

v10:
- s/uAPI/Link in the commit log links

Link: https://github.com/intel/compute-runtime/pull/878
Signed-off-by: Jonathan Cavitt &lt;jonathan.cavitt@intel.com&gt;
Reviewed-by: Shuicheng Lin &lt;shuicheng.lin@intel.com&gt;
Acked-by: Matthew Brost &lt;matthew.brost@intel.com&gt;
Acked-by: Ivan Briano &lt;ivan.briano@intel.com&gt;
Acked-by: José Roberto de Souza &lt;jose.souza@intel.com&gt;
Cc: Zhang Jianxun &lt;jianxun.zhang@intel.com&gt;
Cc: Ivan Briano &lt;ivan.briano@intel.com&gt;
Cc: Matthew Brost &lt;matthew.brost@intel.com&gt;
Signed-off-by: Matthew Brost &lt;matthew.brost@intel.com&gt;
Link: https://patch.msgid.link/20260324152935.72444-8-jonathan.cavitt@intel.com
</content>
</entry>
<entry>
<title>drm/xe/xe3p_lpg: Restrict UAPI to enable L2 flush optimization</title>
<updated>2026-03-23T09:54:14+00:00</updated>
<author>
<name>Tejas Upadhyay</name>
<email>tejas.upadhyay@intel.com</email>
</author>
<published>2026-03-05T12:19:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4f39a194d41e6b8cb61a91a7bb01b17be59a7d73'/>
<id>urn:sha1:4f39a194d41e6b8cb61a91a7bb01b17be59a7d73</id>
<content type='text'>
When set, starting xe3p_lpg, the L2 flush optimization
feature will control whether L2 is in Persistent or
Transient mode through monitoring of media activity.

To enable L2 flush optimization include new feature flag
GUC_CTL_ENABLE_L2FLUSH_OPT for Novalake platforms when
media type is detected.

Tighten UAPI validation to restrict userptr, svm and
dmabuf mappings to be either 2WAY or XA+1WAY

V5(Thomas): logic correction
V4(MattA): Modify uapi doc and commit
V3(MattA): check valid op and pat_index value
V2(MattA): validate dma-buf bos and madvise pat-index

Acked-by: José Roberto de Souza &lt;jose.souza@intel.com&gt;
Acked-by: Michal Mrozek &lt;michal.mrozek@intel.com&gt;
Acked-by: Carl Zhang &lt;carl.zhang@intel.com&gt;
Reviewed-by: Thomas Hellström &lt;thomas.hellstrom@linux.intel.com&gt;
Reviewed-by: Matthew Auld &lt;matthew.auld@intel.com&gt;
Link: https://patch.msgid.link/20260305121902.1892593-9-tejas.upadhyay@intel.com
Signed-off-by: Tejas Upadhyay &lt;tejas.upadhyay@intel.com&gt;
</content>
</entry>
<entry>
<title>drm/xe/uapi: Fix kernel-doc for DRM_XE_VM_BIND_FLAG_DECOMPRESS</title>
<updated>2026-03-13T06:18:58+00:00</updated>
<author>
<name>Nitin Gote</name>
<email>nitin.r.gote@intel.com</email>
</author>
<published>2026-03-12T16:02:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=341a2c99c87ce6f62c6f4423fa641a39f0966bff'/>
<id>urn:sha1:341a2c99c87ce6f62c6f4423fa641a39f0966bff</id>
<content type='text'>
There is kernel-doc warning for DRM_XE_VM_BIND_FLAG_DECOMPRESS:

  ./include/uapi/drm/xe_drm.h:1060: WARNING: Block quote ends without
  a blank line; unexpected unindent.

Fix the warning by adding the missing '%' prefix to
DRM_XE_VM_BIND_FLAG_DECOMPRESS in the kernel-doc list entry for
struct drm_xe_vm_bind_op.

Fixes: 2270bd7124f4 ("drm/xe: add VM_BIND DECOMPRESS uapi flag")
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Closes: https://lore.kernel.org/oe-kbuild-all/202603121515.gEMrFlTL-lkp@intel.com/
Cc: Matthew Auld &lt;matthew.auld@intel.com&gt;
Signed-off-by: Nitin Gote &lt;nitin.r.gote@intel.com&gt;
Reviewed-by: Matthew Auld &lt;matthew.auld@intel.com&gt;
Link: https://patch.msgid.link/20260312160244.809849-2-nitin.r.gote@intel.com
Signed-off-by: Tejas Upadhyay &lt;tejas.upadhyay@intel.com&gt;
</content>
</entry>
</feed>
