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

drm/amd/amdgpu/si_dma: Fix some function name disparity

Fixes the following W=1 kernel build warning(s):

drivers/gpu/drm/amd/amdgpu/si_dma.c:320: warning: expecting prototype for cik_dma_vm_copy_pte(). Prototype was for si_dma_vm_copy_pte() instead
drivers/gpu/drm/amd/amdgpu/si_dma.c:412: warning: expecting prototype for si_dma_pad_ib(). Prototype was for si_dma_ring_pad_ib() instead
drivers/gpu/drm/amd/amdgpu/si_dma.c:425: warning: expecting prototype for cik_sdma_ring_emit_pipeline_sync(). Prototype was for si_dma_ring_emit_pipeline_sync() instead

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Lee Jones and committed by
Alex Deucher
57f671cd acf69d93

+3 -3
+3 -3
drivers/gpu/drm/amd/amdgpu/si_dma.c
··· 305 305 } 306 306 307 307 /** 308 - * cik_dma_vm_copy_pte - update PTEs by copying them from the GART 308 + * si_dma_vm_copy_pte - update PTEs by copying them from the GART 309 309 * 310 310 * @ib: indirect buffer to fill with commands 311 311 * @pe: addr of the page entry ··· 402 402 } 403 403 404 404 /** 405 - * si_dma_pad_ib - pad the IB to the required number of dw 405 + * si_dma_ring_pad_ib - pad the IB to the required number of dw 406 406 * 407 407 * @ring: amdgpu_ring pointer 408 408 * @ib: indirect buffer to fill with padding ··· 415 415 } 416 416 417 417 /** 418 - * cik_sdma_ring_emit_pipeline_sync - sync the pipeline 418 + * si_dma_ring_emit_pipeline_sync - sync the pipeline 419 419 * 420 420 * @ring: amdgpu_ring pointer 421 421 *