Skip to content

Commit dd5d11b

Browse files
sanjayumangmatt-auld
authored andcommitted
drm/xe: Fix spelling and typos across Xe driver files
Corrected various spelling mistakes and typos in multiple files under the Xe directory. These fixes improve clarity and maintain consistency in documentation. v2 - Replaced all instances of "XE" with "Xe" where it referred to the driver name - of -> for - Typical -> Typically v3 - Revert "Xe" to "XE" for macro prefix reference Signed-off-by: Sanjay Yadav <sanjay.kumar.yadav@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Stuart Summers <stuart.summers@intel.com> Signed-off-by: Matthew Auld <matthew.auld@intel.com> Link: https://patch.msgid.link/20251023121453.1182035-2-sanjay.kumar.yadav@intel.com
1 parent fab3649 commit dd5d11b

32 files changed

Lines changed: 63 additions & 63 deletions

drivers/gpu/drm/xe/xe_bo.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,7 +2121,7 @@ void xe_bo_free(struct xe_bo *bo)
21212121
* if the function should allocate a new one.
21222122
* @tile: The tile to select for migration of this bo, and the tile used for
21232123
* GGTT binding if any. Only to be non-NULL for ttm_bo_type_kernel bos.
2124-
* @resv: Pointer to a locked shared reservation object to use fo this bo,
2124+
* @resv: Pointer to a locked shared reservation object to use for this bo,
21252125
* or NULL for the xe_bo to use its own.
21262126
* @bulk: The bulk move to use for LRU bumping, or NULL for external bos.
21272127
* @size: The storage size to use for the bo.
@@ -2651,7 +2651,7 @@ struct xe_bo *xe_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile,
26512651
* @size: The storage size to use for the bo.
26522652
* @type: The TTM buffer object type.
26532653
* @flags: XE_BO_FLAG_ flags.
2654-
* @intr: Whether to execut any waits for backing store interruptible.
2654+
* @intr: Whether to execute any waits for backing store interruptible.
26552655
*
26562656
* Create a pinned and mapped bo. The bo will be external and not associated
26572657
* with a VM.

drivers/gpu/drm/xe/xe_bo_doc.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* BO management
1313
* =============
1414
*
15-
* TTM manages (placement, eviction, etc...) all BOs in XE.
15+
* TTM manages (placement, eviction, etc...) all BOs in Xe.
1616
*
1717
* BO creation
1818
* ===========
@@ -29,7 +29,7 @@
2929
* a kernel BO (e.g. engine state, memory for page tables, etc...). These BOs
3030
* are typically mapped in the GGTT (any kernel BOs aside memory for page tables
3131
* are in the GGTT), are pinned (can't move or be evicted at runtime), have a
32-
* vmap (XE can access the memory via xe_map layer) and have contiguous physical
32+
* vmap (Xe can access the memory via xe_map layer) and have contiguous physical
3333
* memory.
3434
*
3535
* More details of why kernel BOs are pinned and contiguous below.
@@ -40,7 +40,7 @@
4040
* A user BO is created via the DRM_IOCTL_XE_GEM_CREATE IOCTL. Once it is
4141
* created the BO can be mmap'd (via DRM_IOCTL_XE_GEM_MMAP_OFFSET) for user
4242
* access and it can be bound for GPU access (via DRM_IOCTL_XE_VM_BIND). All
43-
* user BOs are evictable and user BOs are never pinned by XE. The allocation of
43+
* user BOs are evictable and user BOs are never pinned by Xe. The allocation of
4444
* the backing store can be deferred from creation time until first use which is
4545
* either mmap, bind, or pagefault.
4646
*
@@ -84,7 +84,7 @@
8484
* ====================
8585
*
8686
* All eviction (or in other words, moving a BO from one memory location to
87-
* another) is routed through TTM with a callback into XE.
87+
* another) is routed through TTM with a callback into Xe.
8888
*
8989
* Runtime eviction
9090
* ----------------

drivers/gpu/drm/xe/xe_configfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* Overview
2828
* ========
2929
*
30-
* Configfs is a filesystem-based manager of kernel objects. XE KMD registers a
30+
* Configfs is a filesystem-based manager of kernel objects. Xe KMD registers a
3131
* configfs subsystem called ``xe`` that creates a directory in the mounted
3232
* configfs directory. The user can create devices under this directory and
3333
* configure them as necessary. See Documentation/filesystems/configfs.rst for

drivers/gpu/drm/xe/xe_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ static void xe_device_wedged_fini(struct drm_device *drm, void *arg)
12171217
*
12181218
* /sys/bus/pci/devices/<device>/survivability_mode
12191219
*
1220-
* - Admin/userpsace consumer can use firmware flashing tools like fwupd to flash
1220+
* - Admin/userspace consumer can use firmware flashing tools like fwupd to flash
12211221
* firmware and restore device to normal operation.
12221222
*/
12231223

drivers/gpu/drm/xe/xe_device_types.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ struct xe_tile {
222222
};
223223

224224
/**
225-
* struct xe_device - Top level struct of XE device
225+
* struct xe_device - Top level struct of Xe device
226226
*/
227227
struct xe_device {
228228
/** @drm: drm device */
@@ -245,9 +245,9 @@ struct xe_device {
245245
u32 media_verx100;
246246
/** @info.mem_region_mask: mask of valid memory regions */
247247
u32 mem_region_mask;
248-
/** @info.platform: XE platform enum */
248+
/** @info.platform: Xe platform enum */
249249
enum xe_platform platform;
250-
/** @info.subplatform: XE subplatform enum */
250+
/** @info.subplatform: Xe subplatform enum */
251251
enum xe_subplatform subplatform;
252252
/** @info.devid: device ID */
253253
u16 devid;
@@ -661,7 +661,7 @@ struct xe_device {
661661
};
662662

663663
/**
664-
* struct xe_file - file handle for XE driver
664+
* struct xe_file - file handle for Xe driver
665665
*/
666666
struct xe_file {
667667
/** @xe: xe DEVICE **/

drivers/gpu/drm/xe/xe_exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* - Binding at exec time
3434
* - Flow controlling the ring at exec time
3535
*
36-
* In XE we avoid all of this complication by not allowing a BO list to be
36+
* In Xe we avoid all of this complication by not allowing a BO list to be
3737
* passed into an exec, using the dma-buf implicit sync uAPI, have binds as
3838
* separate operations, and using the DRM scheduler to flow control the ring.
3939
* Let's deep dive on each of these.

drivers/gpu/drm/xe/xe_force_wake_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ enum xe_force_wake_domains {
5252
};
5353

5454
/**
55-
* struct xe_force_wake_domain - XE force wake domains
55+
* struct xe_force_wake_domain - Xe force wake domains
5656
*/
5757
struct xe_force_wake_domain {
5858
/** @id: domain force wake id */
@@ -70,7 +70,7 @@ struct xe_force_wake_domain {
7070
};
7171

7272
/**
73-
* struct xe_force_wake - XE force wake
73+
* struct xe_force_wake - Xe force wake
7474
*/
7575
struct xe_force_wake {
7676
/** @gt: back pointers to GT */

drivers/gpu/drm/xe/xe_gt_freq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* - act_freq: The actual resolved frequency decided by PCODE.
3737
* - cur_freq: The current one requested by GuC PC to the PCODE.
3838
* - rpn_freq: The Render Performance (RP) N level, which is the minimal one.
39-
* - rpa_freq: The Render Performance (RP) A level, which is the achiveable one.
39+
* - rpa_freq: The Render Performance (RP) A level, which is the achievable one.
4040
* Calculated by PCODE at runtime based on multiple running conditions
4141
* - rpe_freq: The Render Performance (RP) E level, which is the efficient one.
4242
* Calculated by PCODE at runtime based on multiple running conditions

drivers/gpu/drm/xe/xe_gt_sriov_vf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ static void vf_start_migration_recovery(struct xe_gt *gt)
738738
gt->sriov.vf.migration.recovery_queued = true;
739739
WRITE_ONCE(gt->sriov.vf.migration.recovery_inprogress, true);
740740
WRITE_ONCE(gt->sriov.vf.migration.ggtt_need_fixes, true);
741-
smp_wmb(); /* Ensure above writes visable before wake */
741+
smp_wmb(); /* Ensure above writes visible before wake */
742742

743743
xe_guc_ct_wake_waiters(&gt->uc.guc.ct);
744744

drivers/gpu/drm/xe/xe_guc_ads_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct xe_bo;
1414
* struct xe_guc_ads - GuC additional data structures (ADS)
1515
*/
1616
struct xe_guc_ads {
17-
/** @bo: XE BO for GuC ads blob */
17+
/** @bo: Xe BO for GuC ads blob */
1818
struct xe_bo *bo;
1919
/** @golden_lrc_size: golden LRC size */
2020
size_t golden_lrc_size;

0 commit comments

Comments
 (0)