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

drm/amd/amdgpu/cik_sdma: Fix a few incorrectly named functions

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

drivers/gpu/drm/amd/amdgpu/cik_sdma.c:735: warning: expecting prototype for cik_sdma_vm_copy_pages(). Prototype was for cik_sdma_vm_copy_pte() instead
drivers/gpu/drm/amd/amdgpu/cik_sdma.c:762: warning: expecting prototype for cik_sdma_vm_write_pages(). Prototype was for cik_sdma_vm_write_pte() instead
drivers/gpu/drm/amd/amdgpu/cik_sdma.c:792: warning: expecting prototype for cik_sdma_vm_set_pages(). Prototype was for cik_sdma_vm_set_pte_pde() instead
drivers/gpu/drm/amd/amdgpu/cik_sdma.c:814: warning: expecting prototype for cik_sdma_vm_pad_ib(). Prototype was for cik_sdma_ring_pad_ib() 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: Evan Quan <evan.quan@amd.com>
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
094b457b 590a74c6

+4 -4
+4 -4
drivers/gpu/drm/amd/amdgpu/cik_sdma.c
··· 720 720 } 721 721 722 722 /** 723 - * cik_sdma_vm_copy_pages - update PTEs by copying them from the GART 723 + * cik_sdma_vm_copy_pte - update PTEs by copying them from the GART 724 724 * 725 725 * @ib: indirect buffer to fill with commands 726 726 * @pe: addr of the page entry ··· 746 746 } 747 747 748 748 /** 749 - * cik_sdma_vm_write_pages - update PTEs by writing them manually 749 + * cik_sdma_vm_write_pte - update PTEs by writing them manually 750 750 * 751 751 * @ib: indirect buffer to fill with commands 752 752 * @pe: addr of the page entry ··· 775 775 } 776 776 777 777 /** 778 - * cik_sdma_vm_set_pages - update the page tables using sDMA 778 + * cik_sdma_vm_set_pte_pde - update the page tables using sDMA 779 779 * 780 780 * @ib: indirect buffer to fill with commands 781 781 * @pe: addr of the page entry ··· 804 804 } 805 805 806 806 /** 807 - * cik_sdma_vm_pad_ib - pad the IB to the required number of dw 807 + * cik_sdma_ring_pad_ib - pad the IB to the required number of dw 808 808 * 809 809 * @ring: amdgpu_ring structure holding ring information 810 810 * @ib: indirect buffer to fill with padding