drm/i915: fix typos in comments
authorJulia Lawall <Julia.Lawall@inria.fr>
Sat, 21 May 2022 11:11:40 +0000 (13:11 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 24 May 2022 10:48:30 +0000 (13:48 +0300)
Spelling mistakes (triple letters) in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220521111145.81697-90-Julia.Lawall@inria.fr
drivers/gpu/drm/i915/display/intel_color.c
drivers/gpu/drm/i915/display/intel_pps.c
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
drivers/gpu/drm/i915/gt/uc/intel_guc_log.c

index 34128c9..a27ce87 100644 (file)
@@ -1638,7 +1638,7 @@ static u32 icl_gamma_mode(const struct intel_crtc_state *crtc_state)
        /*
         * Enable 10bit gamma for D13
         * ToDo: Extend to Logarithmic Gamma once the new UAPI
-        * is acccepted and implemented by a userspace consumer
+        * is accepted and implemented by a userspace consumer
         */
        else if (DISPLAY_VER(i915) >= 13)
                gamma_mode |= GAMMA_MODE_MODE_10BIT;
index 5a598dd..4bc0563 100644 (file)
@@ -509,7 +509,7 @@ static void wait_panel_power_cycle(struct intel_dp *intel_dp)
 
        drm_dbg_kms(&i915->drm, "Wait for panel power cycle\n");
 
-       /* take the difference of currrent time and panel power off time
+       /* take the difference of current time and panel power off time
         * and then make panel wait for t11_t12 if needed. */
        panel_power_on_time = ktime_get_boottime();
        panel_power_off_duration = ktime_ms_delta(panel_power_on_time, intel_dp->pps.panel_power_off_time);
index 1c602d4..1c3fc4e 100644 (file)
@@ -1352,7 +1352,7 @@ static void execlists_dequeue(struct intel_engine_cs *engine)
                         * submission. If we don't cancel the timer now,
                         * we will see that the timer has expired and
                         * reschedule the tasklet; continually until the
-                        * next context switch or other preeemption event.
+                        * next context switch or other preemption event.
                         *
                         * Since we have decided to reschedule based on
                         * consumption of this timeslice, if we submit the
index a24dc64..2dfbb1a 100644 (file)
@@ -555,7 +555,7 @@ int intel_guc_log_relay_open(struct intel_guc_log *log)
        /*
         * We require SSE 4.1 for fast reads from the GuC log buffer and
         * it should be present on the chipsets supporting GuC based
-        * submisssions.
+        * submissions.
         */
        if (!i915_has_memcpy_from_wc()) {
                ret = -ENXIO;