]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/radeon: fix typoes in comments
authorBernard Zhao <bernard@vivo.com>
Tue, 22 Sep 2020 12:40:29 +0000 (05:40 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Sep 2020 21:37:38 +0000 (17:37 -0400)
Change the comment typo: "programm" -> "program".

Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/uvd_v1_0.c
drivers/gpu/drm/radeon/uvd_v2_2.c
drivers/gpu/drm/radeon/uvd_v4_2.c

index 800721153d51a2a404c121834d20236d992c65d6..58557c2263a723f0b353d3f20fcbcf1225c500c9 100644 (file)
@@ -117,7 +117,7 @@ int uvd_v1_0_resume(struct radeon_device *rdev)
        if (r)
                return r;
 
-       /* programm the VCPU memory controller bits 0-27 */
+       /* program the VCPU memory controller bits 0-27 */
        addr = (rdev->uvd.gpu_addr >> 3) + 16;
        size = RADEON_GPU_PAGE_ALIGN(rdev->uvd_fw->size) >> 3;
        WREG32(UVD_VCPU_CACHE_OFFSET0, addr);
@@ -360,7 +360,7 @@ int uvd_v1_0_start(struct radeon_device *rdev)
        /* Set the write pointer delay */
        WREG32(UVD_RBC_RB_WPTR_CNTL, 0);
 
-       /* programm the 4GB memory segment for rptr and ring buffer */
+       /* program the 4GB memory segment for rptr and ring buffer */
        WREG32(UVD_LMI_EXT40_ADDR, upper_32_bits(ring->gpu_addr) |
                                   (0x7 << 16) | (0x1 << 31));
 
index 23b18edda20e4b829b4cad699a72190bd148e549..6266167886d9ab728190548b553d9230f3c0c87d 100644 (file)
@@ -109,7 +109,7 @@ int uvd_v2_2_resume(struct radeon_device *rdev)
        if (r)
                return r;
 
-       /* programm the VCPU memory controller bits 0-27 */
+       /* program the VCPU memory controller bits 0-27 */
        addr = rdev->uvd.gpu_addr >> 3;
        size = RADEON_GPU_PAGE_ALIGN(rdev->uvd_fw->size + 4) >> 3;
        WREG32(UVD_VCPU_CACHE_OFFSET0, addr);
index dc54fa4aaea825abdfdee8b376e6edb83d07987c..f9e97fa63674b53e08e612ab462d6320c37c39cb 100644 (file)
@@ -40,7 +40,7 @@ int uvd_v4_2_resume(struct radeon_device *rdev)
        uint64_t addr;
        uint32_t size;
 
-       /* programm the VCPU memory controller bits 0-27 */
+       /* program the VCPU memory controller bits 0-27 */
 
        /* skip over the header of the new firmware format */
        if (rdev->uvd.fw_header_present)