drm/i915/gt: Remove repeated words from comments
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 22 Jan 2021 19:29:06 +0000 (19:29 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Mar 2021 18:30:35 +0000 (19:30 +0100)
Checkpatch spotted a few repeated words in the comment, genuine
mistakes.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210122192913.4518-3-chris@chris-wilson.co.uk
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
drivers/gpu/drm/i915/gt/intel_ggtt.c
drivers/gpu/drm/i915/gt/intel_reset_types.h
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/gt/selftest_execlists.c

index b31ce0d600281c22e6f22906801a0ea59b1d7623..9f8f8e4b527080ec39bf7a3c9fe8e9c48f83f693 100644 (file)
@@ -3108,7 +3108,7 @@ static void execlists_release(struct intel_engine_cs *engine)
 static void
 logical_ring_default_vfuncs(struct intel_engine_cs *engine)
 {
-       /* Default vfuncs which can be overriden by each engine. */
+       /* Default vfuncs which can be overridden by each engine. */
 
        engine->resume = execlists_resume;
 
index ec2bf963ced9d9df5f74ac9c8cd9efdaf5408c52..fc399ac16eda87b5a01a651d6eac43e4d815473f 100644 (file)
@@ -92,7 +92,7 @@ int i915_ggtt_init_hw(struct drm_i915_private *i915)
 }
 
 /*
- * Certain Gen5 chipsets require require idling the GPU before
+ * Certain Gen5 chipsets require idling the GPU before
  * unmapping anything from the GTT when VT-d is enabled.
  */
 static bool needs_idle_maps(struct drm_i915_private *i915)
index add6b86d9d03f471be600b205e0b332c7e2be313..9312b29f5a97bb12021acc6a233112a56e73130c 100644 (file)
@@ -32,7 +32,7 @@ struct intel_reset {
         *
         * #I915_WEDGED_ON_INIT - If we fail to initialize the GPU we can no
         * longer use the GPU - similar to #I915_WEDGED bit. The difference in
-        * in the way we're handling "forced" unwedged (e.g. through debugfs),
+        * the way we're handling "forced" unwedged (e.g. through debugfs),
         * which is not allowed in case we failed to initialize.
         *
         * #I915_WEDGED_ON_FINI - Similar to #I915_WEDGED_ON_INIT, except we
index fe26da2f84b2919dd16f94bb8394787a8b5bbe49..912e020888d465dd7f440aafdc2338c85470c792 100644 (file)
@@ -280,7 +280,7 @@ static void gen8_ctx_workarounds_init(struct intel_engine_cs *engine,
                     PARTIAL_INSTRUCTION_SHOOTDOWN_DISABLE);
 
        /* Use Force Non-Coherent whenever executing a 3D context. This is a
-        * workaround for for a possible hang in the unlikely event a TLB
+        * workaround for a possible hang in the unlikely event a TLB
         * invalidation occurs during a PSD flush.
         */
        /* WaForceEnableNonCoherent:bdw,chv */
index 4f2853a830758bab0ddd600d4e31940de6fa1002..6cfa9a89d8919605ea4aee72fc2b58ee2383b211 100644 (file)
@@ -2864,7 +2864,7 @@ static int __live_preempt_ring(struct intel_engine_cs *engine,
        err = wait_for_submit(engine, rq, HZ / 2);
        i915_request_put(rq);
        if (err) {
-               pr_err("%s: preemption request was not submited\n",
+               pr_err("%s: preemption request was not submitted\n",
                       engine->name);
                err = -ETIME;
        }