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

drm/amdgpu: fix spelling typos

Found some typos while exploring amdgpu code.

Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Alexandre Demers and committed by
Alex Deucher
ce43abd7 7d83c129

+7 -6
+1 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
··· 269 269 * @mc: memory controller structure holding memory information 270 270 * @gart_placement: GART placement policy with respect to VRAM 271 271 * 272 - * Function will place try to place GART before or after VRAM. 272 + * Function will try to place GART before or after VRAM. 273 273 * If GART size is bigger than space left then we ajust GART size. 274 274 * Thus function will never fails. 275 275 */
+3 -3
drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c
··· 98 98 } 99 99 100 100 /** 101 - * uvd_v3_1_ring_emit_fence - emit an fence & trap command 101 + * uvd_v3_1_ring_emit_fence - emit a fence & trap command 102 102 * 103 103 * @ring: amdgpu_ring pointer 104 104 * @addr: address ··· 242 242 uint64_t addr; 243 243 uint32_t size; 244 244 245 - /* programm the VCPU memory controller bits 0-27 */ 245 + /* program the VCPU memory controller bits 0-27 */ 246 246 addr = (adev->uvd.inst->gpu_addr + AMDGPU_UVD_FIRMWARE_OFFSET) >> 3; 247 247 size = AMDGPU_UVD_FIRMWARE_SIZE(adev) >> 3; 248 248 WREG32(mmUVD_VCPU_CACHE_OFFSET0, addr); ··· 416 416 /* Set the write pointer delay */ 417 417 WREG32(mmUVD_RBC_RB_WPTR_CNTL, 0); 418 418 419 - /* programm the 4GB memory segment for rptr and ring buffer */ 419 + /* Program the 4GB memory segment for rptr and ring buffer */ 420 420 WREG32(mmUVD_LMI_EXT40_ADDR, upper_32_bits(ring->gpu_addr) | 421 421 (0x7 << 16) | (0x1 << 31)); 422 422
+2 -1
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
··· 302 302 /* enable VCPU clock */ 303 303 WREG32(mmUVD_VCPU_CNTL, 1 << 9); 304 304 305 - /* disable interupt */ 305 + /* disable interrupt */ 306 306 WREG32_P(mmUVD_MASTINT_EN, 0, ~(1 << 1)); 307 307 308 308 #ifdef __BIG_ENDIAN ··· 312 312 #endif 313 313 WREG32(mmUVD_LMI_SWAP_CNTL, lmi_swap_cntl); 314 314 WREG32(mmUVD_MP_SWAP_CNTL, mp_swap_cntl); 315 + 315 316 /* initialize UVD memory controller */ 316 317 WREG32(mmUVD_LMI_CTRL, 0x203108); 317 318
+1 -1
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c
··· 280 280 281 281 282 282 if (vce_v2_0_lmi_clean(adev)) { 283 - DRM_INFO("vce is not idle \n"); 283 + DRM_INFO("VCE is not idle \n"); 284 284 return 0; 285 285 } 286 286