Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/radeon: fix typoes in comments

Change the comment typo: "programm" -> "program".

Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Bernard Zhao and committed by
Alex Deucher
027f2d27 52ef3a1a

+4 -4
+2 -2
drivers/gpu/drm/radeon/uvd_v1_0.c
··· 117 117 if (r) 118 118 return r; 119 119 120 - /* programm the VCPU memory controller bits 0-27 */ 120 + /* program the VCPU memory controller bits 0-27 */ 121 121 addr = (rdev->uvd.gpu_addr >> 3) + 16; 122 122 size = RADEON_GPU_PAGE_ALIGN(rdev->uvd_fw->size) >> 3; 123 123 WREG32(UVD_VCPU_CACHE_OFFSET0, addr); ··· 360 360 /* Set the write pointer delay */ 361 361 WREG32(UVD_RBC_RB_WPTR_CNTL, 0); 362 362 363 - /* programm the 4GB memory segment for rptr and ring buffer */ 363 + /* program the 4GB memory segment for rptr and ring buffer */ 364 364 WREG32(UVD_LMI_EXT40_ADDR, upper_32_bits(ring->gpu_addr) | 365 365 (0x7 << 16) | (0x1 << 31)); 366 366
+1 -1
drivers/gpu/drm/radeon/uvd_v2_2.c
··· 109 109 if (r) 110 110 return r; 111 111 112 - /* programm the VCPU memory controller bits 0-27 */ 112 + /* program the VCPU memory controller bits 0-27 */ 113 113 addr = rdev->uvd.gpu_addr >> 3; 114 114 size = RADEON_GPU_PAGE_ALIGN(rdev->uvd_fw->size + 4) >> 3; 115 115 WREG32(UVD_VCPU_CACHE_OFFSET0, addr);
+1 -1
drivers/gpu/drm/radeon/uvd_v4_2.c
··· 40 40 uint64_t addr; 41 41 uint32_t size; 42 42 43 - /* programm the VCPU memory controller bits 0-27 */ 43 + /* program the VCPU memory controller bits 0-27 */ 44 44 45 45 /* skip over the header of the new firmware format */ 46 46 if (rdev->uvd.fw_header_present)