···269269 * @mc: memory controller structure holding memory information270270 * @gart_placement: GART placement policy with respect to VRAM271271 *272272- * Function will place try to place GART before or after VRAM.272272+ * Function will try to place GART before or after VRAM.273273 * If GART size is bigger than space left then we ajust GART size.274274 * Thus function will never fails.275275 */
+3-3
drivers/gpu/drm/amd/amdgpu/uvd_v3_1.c
···9898}9999100100/**101101- * uvd_v3_1_ring_emit_fence - emit an fence & trap command101101+ * uvd_v3_1_ring_emit_fence - emit a fence & trap command102102 *103103 * @ring: amdgpu_ring pointer104104 * @addr: address···242242 uint64_t addr;243243 uint32_t size;244244245245- /* programm the VCPU memory controller bits 0-27 */245245+ /* program the VCPU memory controller bits 0-27 */246246 addr = (adev->uvd.inst->gpu_addr + AMDGPU_UVD_FIRMWARE_OFFSET) >> 3;247247 size = AMDGPU_UVD_FIRMWARE_SIZE(adev) >> 3;248248 WREG32(mmUVD_VCPU_CACHE_OFFSET0, addr);···416416 /* Set the write pointer delay */417417 WREG32(mmUVD_RBC_RB_WPTR_CNTL, 0);418418419419- /* programm the 4GB memory segment for rptr and ring buffer */419419+ /* Program the 4GB memory segment for rptr and ring buffer */420420 WREG32(mmUVD_LMI_EXT40_ADDR, upper_32_bits(ring->gpu_addr) |421421 (0x7 << 16) | (0x1 << 31));422422