drm/i915/display: clean up comments
authorTom Rix <trix@redhat.com>
Fri, 1 Jul 2022 20:32:36 +0000 (16:32 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:31:25 +0000 (13:31 +0100)
[ Upstream commit 3461b040a90d723c93c9d1c7c11e3464f5cadc0e ]

spelling changes
resoluition -> resolution
dont        -> don't
commmit     -> commit
Invalidade  -> Invalidate

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220701203236.1871668-1-trix@redhat.com
Stable-dep-of: 71c602103c74 ("drm/i915/psr: Use calculated io and fast wake lines")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/i915/display/intel_psr.c

index 21d58d22c82eed087cb9d41554aea2c00a9d4f78..5f9894e3c7aa70aacd28d7cb41b6dbe8199f3b37 100644 (file)
@@ -580,7 +580,7 @@ static void hsw_activate_psr2(struct intel_dp *intel_dp)
                /*
                 * TODO: 7 lines of IO_BUFFER_WAKE and FAST_WAKE are default
                 * values from BSpec. In order to setting an optimal power
-                * consumption, lower than 4k resoluition mode needs to decrese
+                * consumption, lower than 4k resolution mode needs to decrease
                 * IO_BUFFER_WAKE and FAST_WAKE. And higher than 4K resolution
                 * mode needs to increase IO_BUFFER_WAKE and FAST_WAKE.
                 */
@@ -986,7 +986,7 @@ void intel_psr_compute_config(struct intel_dp *intel_dp,
        int psr_setup_time;
 
        /*
-        * Current PSR panels dont work reliably with VRR enabled
+        * Current PSR panels don't work reliably with VRR enabled
         * So if VRR is enabled, do not enable PSR.
         */
        if (crtc_state->vrr.enable)
@@ -1619,7 +1619,7 @@ static void cursor_area_workaround(const struct intel_plane_state *new_plane_sta
  *
  * Plane scaling and rotation is not supported by selective fetch and both
  * properties can change without a modeset, so need to be check at every
- * atomic commmit.
+ * atomic commit.
  */
 static bool psr2_sel_fetch_plane_state_supported(const struct intel_plane_state *plane_state)
 {
@@ -2067,7 +2067,7 @@ unlock:
 }
 
 /**
- * intel_psr_invalidate - Invalidade PSR
+ * intel_psr_invalidate - Invalidate PSR
  * @dev_priv: i915 device
  * @frontbuffer_bits: frontbuffer plane tracking bits
  * @origin: which operation caused the invalidate