]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/radeon: fix typos
authorAlexandre Demers <alexandre.f.demers@gmail.com>
Wed, 13 Aug 2025 00:46:25 +0000 (20:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Aug 2025 17:06:19 +0000 (13:06 -0400)
Various small typos found around.

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_test.c
drivers/gpu/drm/radeon/radeon_vce.c

index 7a3e510327b7933623a0743f22381727fccc1e9b..9e35b14e2bf0e9927d3098f3ec228384cbdd2851 100644 (file)
@@ -554,7 +554,7 @@ int radeon_wb_init(struct radeon_device *rdev)
  * cover the whole aperture even if VRAM size is inferior to aperture size
  * Novell bug 204882 + along with lots of ubuntu ones
  *
- * Note 3: when limiting vram it's safe to overwritte real_vram_size because
+ * Note 3: when limiting vram it's safe to overwrite real_vram_size because
  * we are not in case where real_vram_size is inferior to mc_vram_size (ie
  * not affected by bogus hw of Novell bug 204882 + along with lots of ubuntu
  * ones)
@@ -562,7 +562,7 @@ int radeon_wb_init(struct radeon_device *rdev)
  * Note 4: IGP TOM addr should be the same as the aperture addr, we don't
  * explicitly check for that thought.
  *
- * FIXME: when reducing VRAM size align new size on power of 2.
+ * FIXME: when reducing VRAM size, align new size on power of 2.
  */
 void radeon_vram_location(struct radeon_device *rdev, struct radeon_mc *mc, u64 base)
 {
index c9fef9b61ced6d9c02ee793d98180da450303a8f..818554e6053791d806d4796bc2b1e35a9bca531d 100644 (file)
@@ -455,7 +455,7 @@ static void radeon_test_ring_sync2(struct radeon_device *rdev,
 
        r = radeon_ring_lock(rdev, ringC, 64);
        if (r) {
-               DRM_ERROR("Failed to lock ring B %p\n", ringC);
+               DRM_ERROR("Failed to lock ring C %p\n", ringC);
                goto out_cleanup;
        }
        radeon_semaphore_emit_signal(rdev, ringC->idx, semaphore);
@@ -481,7 +481,7 @@ static void radeon_test_ring_sync2(struct radeon_device *rdev,
 
        r = radeon_ring_lock(rdev, ringC, 64);
        if (r) {
-               DRM_ERROR("Failed to lock ring B %p\n", ringC);
+               DRM_ERROR("Failed to lock ring C %p\n", ringC);
                goto out_cleanup;
        }
        radeon_semaphore_emit_signal(rdev, ringC->idx, semaphore);
index 2355a78e1b69d6abb58a624523a6dae740e8ecbe..bdbc1bbe8a9b5b20996193a7680fcc6dbc2df9a5 100644 (file)
@@ -86,7 +86,7 @@ int radeon_vce_init(struct radeon_device *rdev)
 
        r = request_firmware(&rdev->vce_fw, fw_name, rdev->dev);
        if (r) {
-               dev_err(rdev->dev, "radeon_vce: Can't load firmware \"%s\"\n",
+               dev_err(rdev->dev, "radeon_vce: can't load firmware \"%s\"\n",
                        fw_name);
                return r;
        }
@@ -126,7 +126,7 @@ int radeon_vce_init(struct radeon_device *rdev)
 
        rdev->vce.fw_version = (start << 24) | (mid << 16) | (end << 8);
 
-       /* we can only work with this fw version for now */
+       /* we can only work with these fw versions for now */
        if ((rdev->vce.fw_version != ((40 << 24) | (2 << 16) | (2 << 8))) &&
            (rdev->vce.fw_version != ((50 << 24) | (0 << 16) | (1 << 8))) &&
            (rdev->vce.fw_version != ((50 << 24) | (1 << 16) | (2 << 8))))
@@ -281,7 +281,7 @@ static void radeon_vce_idle_work_handler(struct work_struct *work)
  *
  * @rdev: radeon_device pointer
  *
- * Make sure VCE is powerd up when we want to use it
+ * Make sure VCE is powered up when we want to use it
  */
 void radeon_vce_note_usage(struct radeon_device *rdev)
 {