Commit dd5d11b6 authored by Sanjay Yadav's avatar Sanjay Yadav Committed by Matthew Auld
Browse files

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: default avatarSanjay Yadav <sanjay.kumar.yadav@intel.com>
Reviewed-by: default avatarMatthew Auld <matthew.auld@intel.com>
Reviewed-by: default avatarStuart Summers <stuart.summers@intel.com>
Signed-off-by: default avatarMatthew Auld <matthew.auld@intel.com>
Link: https://patch.msgid.link/20251023121453.1182035-2-sanjay.kumar.yadav@intel.com
parent fab36494
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2121,7 +2121,7 @@ void xe_bo_free(struct xe_bo *bo)
 * if the function should allocate a new one.
 * @tile: The tile to select for migration of this bo, and the tile used for
 * GGTT binding if any. Only to be non-NULL for ttm_bo_type_kernel bos.
 * @resv: Pointer to a locked shared reservation object to use fo this bo,
 * @resv: Pointer to a locked shared reservation object to use for this bo,
 * or NULL for the xe_bo to use its own.
 * @bulk: The bulk move to use for LRU bumping, or NULL for external bos.
 * @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,
 * @size: The storage size to use for the bo.
 * @type: The TTM buffer object type.
 * @flags: XE_BO_FLAG_ flags.
 * @intr: Whether to execut any waits for backing store interruptible.
 * @intr: Whether to execute any waits for backing store interruptible.
 *
 * Create a pinned and mapped bo. The bo will be external and not associated
 * with a VM.
+4 −4
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
 * BO management
 * =============
 *
 * TTM manages (placement, eviction, etc...) all BOs in XE.
 * TTM manages (placement, eviction, etc...) all BOs in Xe.
 *
 * BO creation
 * ===========
@@ -29,7 +29,7 @@
 * a kernel BO (e.g. engine state, memory for page tables, etc...). These BOs
 * are typically mapped in the GGTT (any kernel BOs aside memory for page tables
 * are in the GGTT), are pinned (can't move or be evicted at runtime), have a
 * vmap (XE can access the memory via xe_map layer) and have contiguous physical
 * vmap (Xe can access the memory via xe_map layer) and have contiguous physical
 * memory.
 *
 * More details of why kernel BOs are pinned and contiguous below.
@@ -40,7 +40,7 @@
 * A user BO is created via the DRM_IOCTL_XE_GEM_CREATE IOCTL. Once it is
 * created the BO can be mmap'd (via DRM_IOCTL_XE_GEM_MMAP_OFFSET) for user
 * access and it can be bound for GPU access (via DRM_IOCTL_XE_VM_BIND). All
 * user BOs are evictable and user BOs are never pinned by XE. The allocation of
 * user BOs are evictable and user BOs are never pinned by Xe. The allocation of
 * the backing store can be deferred from creation time until first use which is
 * either mmap, bind, or pagefault.
 *
@@ -84,7 +84,7 @@
 * ====================
 *
 * All eviction (or in other words, moving a BO from one memory location to
 * another) is routed through TTM with a callback into XE.
 * another) is routed through TTM with a callback into Xe.
 *
 * Runtime eviction
 * ----------------
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@
 * Overview
 * ========
 *
 * Configfs is a filesystem-based manager of kernel objects. XE KMD registers a
 * Configfs is a filesystem-based manager of kernel objects. Xe KMD registers a
 * configfs subsystem called ``xe`` that creates a directory in the mounted
 * configfs directory. The user can create devices under this directory and
 * configure them as necessary. See Documentation/filesystems/configfs.rst for
+1 −1
Original line number Diff line number Diff line
@@ -1217,7 +1217,7 @@ static void xe_device_wedged_fini(struct drm_device *drm, void *arg)
 *
 *   /sys/bus/pci/devices/<device>/survivability_mode
 *
 * - Admin/userpsace consumer can use firmware flashing tools like fwupd to flash
 * - Admin/userspace consumer can use firmware flashing tools like fwupd to flash
 *   firmware and restore device to normal operation.
 */

+4 −4
Original line number Diff line number Diff line
@@ -222,7 +222,7 @@ struct xe_tile {
};

/**
 * struct xe_device - Top level struct of XE device
 * struct xe_device - Top level struct of Xe device
 */
struct xe_device {
	/** @drm: drm device */
@@ -245,9 +245,9 @@ struct xe_device {
		u32 media_verx100;
		/** @info.mem_region_mask: mask of valid memory regions */
		u32 mem_region_mask;
		/** @info.platform: XE platform enum */
		/** @info.platform: Xe platform enum */
		enum xe_platform platform;
		/** @info.subplatform: XE subplatform enum */
		/** @info.subplatform: Xe subplatform enum */
		enum xe_subplatform subplatform;
		/** @info.devid: device ID */
		u16 devid;
@@ -661,7 +661,7 @@ struct xe_device {
};

/**
 * struct xe_file - file handle for XE driver
 * struct xe_file - file handle for Xe driver
 */
struct xe_file {
	/** @xe: xe DEVICE **/
Loading