]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/uapi: Fix code examples in xe_drm.h documentation
authorShuicheng Lin <shuicheng.lin@intel.com>
Tue, 7 Apr 2026 03:00:45 +0000 (03:00 +0000)
committerShuicheng Lin <shuicheng.lin@intel.com>
Wed, 8 Apr 2026 16:22:26 +0000 (09:22 -0700)
commit96cc9d79df5f7092c3807fad0d2fc3415cbd66b2
tree407b862f7fb2ab6808b2486b436192d6be7a9c8d
parent4bd87e7c4d467ce1f9e3b56abebeffc2ba45a2fb
drm/xe/uapi: Fix code examples in xe_drm.h documentation

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)
- 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 <x.wang@intel.com>
Reviewed-by: Xin Wang <x.wang@intel.com>
Link: https://patch.msgid.link/20260407030046.3394004-6-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
include/uapi/drm/xe_drm.h