]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/xe: Fix comments in xe_gt struct
authorShuicheng Lin <shuicheng.lin@intel.com>
Mon, 6 Oct 2025 15:13:18 +0000 (15:13 +0000)
committerMatthew Brost <matthew.brost@intel.com>
Mon, 13 Oct 2025 19:28:27 +0000 (12:28 -0700)
Correct several spelling and grammar issues in xe_gt struct
documentation to improve readability:

- Fix "to not" -> "do not".
- Fix "mmigrations" -> "migrations".
- Fix "Multiple queues exists" -> "Multiple queues exist".
- Fix "are be processed" -> "to be processed".
- Fix "have being processed" -> "have been processed".

These changes are purely cosmetic and do not affect functionality.

v2: drop kernel-doc formatting change. (Jani)

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20251006151317.2553182-2-shuicheng.lin@intel.com
drivers/gpu/drm/xe/xe_gt_types.h

index 66158105aca5ad7137b84ef7699100354d188b4d..8b5f604d7883a175dc5486efaa3d2a0b7d2c7e16 100644 (file)
@@ -202,14 +202,14 @@ struct xe_gt {
                /**
                 * @usm.bb_pool: Pool from which batchbuffers, for USM operations
                 * (e.g. migrations, fixing page tables), are allocated.
-                * Dedicated pool needed so USM operations to not get blocked
+                * Dedicated pool needed so USM operations do not get blocked
                 * behind any user operations which may have resulted in a
                 * fault.
                 */
                struct xe_sa_manager *bb_pool;
                /**
                 * @usm.reserved_bcs_instance: reserved BCS instance used for USM
-                * operations (e.g. mmigrations, fixing page tables)
+                * operations (e.g. migrations, fixing page tables)
                 */
                u16 reserved_bcs_instance;
                /** @usm.pf_wq: page fault work queue, unbound, high priority */
@@ -220,8 +220,8 @@ struct xe_gt {
                 * @usm.pf_queue: Page fault queue used to sync faults so faults can
                 * be processed not under the GuC CT lock. The queue is sized so
                 * it can sync all possible faults (1 per physical engine).
-                * Multiple queues exists for page faults from different VMs are
-                * be processed in parallel.
+                * Multiple queues exist for page faults from different VMs to be
+                * processed in parallel.
                 */
                struct pf_queue {
                        /** @usm.pf_queue.gt: back pointer to GT */
@@ -387,7 +387,7 @@ struct xe_gt {
                /**
                 * @wa_active.oob_initialized: mark oob as initialized to help
                 * detecting misuse of XE_GT_WA() - it can only be called on
-                * initialization after OOB WAs have being processed
+                * initialization after OOB WAs have been processed
                 */
                bool oob_initialized;
        } wa_active;