]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/radeon: fix spelling typos
authorAlexandre Demers <alexandre.f.demers@gmail.com>
Thu, 27 Feb 2025 05:05:05 +0000 (00:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:37:18 +0000 (10:37 -0500)
Found some typos while exploring radeon code.

Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_fence.c
drivers/gpu/drm/radeon/si.c

index 6f071e61f7648f3fcd33d763f1e3421d586ca077..bbd39348a7aba18e0492790b10c9207958e17b11 100644 (file)
@@ -530,7 +530,7 @@ int radeon_wb_init(struct radeon_device *rdev)
  * @mc: memory controller structure holding memory informations
  * @base: base address at which to put VRAM
  *
- * Function will place try to place VRAM at base address provided
+ * Function will try to place VRAM at base address provided
  * as parameter (which is so far either PCI aperture address or
  * for IGP TOM base address).
  *
@@ -557,7 +557,7 @@ int radeon_wb_init(struct radeon_device *rdev)
  *
  * Note 3: when limiting vram it's safe to overwritte real_vram_size because
  * we are not in case where real_vram_size is inferior to mc_vram_size (ie
- * note afected by bogus hw of Novell bug 204882 + along with lots of ubuntu
+ * not affected by bogus hw of Novell bug 204882 + along with lots of ubuntu
  * ones)
  *
  * Note 4: IGP TOM addr should be the same as the aperture addr, we don't
@@ -594,7 +594,7 @@ void radeon_vram_location(struct radeon_device *rdev, struct radeon_mc *mc, u64
  * @rdev: radeon device structure holding all necessary informations
  * @mc: memory controller structure holding memory informations
  *
- * Function will place try to place GTT before or after VRAM.
+ * Function will try to place GTT before or after VRAM.
  *
  * If GTT size is bigger than space left then we ajust GTT size.
  * Thus function will never fails.
index daff61586be52b06bad0add3b251a9c79083bf7e..8ff4f18b51a944c9031705877b7f744915eb304e 100644 (file)
@@ -840,7 +840,7 @@ int radeon_fence_driver_start_ring(struct radeon_device *rdev, int ring)
        }
        radeon_fence_write(rdev, atomic64_read(&rdev->fence_drv[ring].last_seq), ring);
        rdev->fence_drv[ring].initialized = true;
-       dev_info(rdev->dev, "fence driver on ring %d use gpu addr 0x%016llx\n",
+       dev_info(rdev->dev, "fence driver on ring %d uses gpu addr 0x%016llx\n",
                 ring, rdev->fence_drv[ring].gpu_addr);
        return 0;
 }
index 6c95575ce109fc3d90ab46596684f65dd4a7673c..26197aceb001cc705889c29c17431cf49af4131c 100644 (file)
@@ -6198,7 +6198,7 @@ static inline u32 si_get_ih_wptr(struct radeon_device *rdev)
 
        if (wptr & RB_OVERFLOW) {
                wptr &= ~RB_OVERFLOW;
-               /* When a ring buffer overflow happen start parsing interrupt
+               /* When a ring buffer overflow happens, start parsing interrupts
                 * from the last not overwritten vector (wptr + 16). Hopefully
                 * this should allow us to catchup.
                 */