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

drm/amd/amdgpu/amdgpu_cs: Repair some function naming disparity

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

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:685: warning: expecting prototype for cs_parser_fini(). Prototype was for amdgpu_cs_parser_fini() instead
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1502: warning: expecting prototype for amdgpu_cs_wait_all_fence(). Prototype was for amdgpu_cs_wait_all_fences() instead
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1656: warning: expecting prototype for amdgpu_cs_find_bo_va(). Prototype was for amdgpu_cs_find_mapping() 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: Jerome Glisse <glisse@freedesktop.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
Reviewed-by: Christian König <christian.koenig@amd.com>
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
3bffd71d 03691f55

+3 -3
+3 -3
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
··· 672 672 } 673 673 674 674 /** 675 - * cs_parser_fini() - clean parser states 675 + * amdgpu_cs_parser_fini() - clean parser states 676 676 * @parser: parser structure holding parsing context. 677 677 * @error: error number 678 678 * @backoff: indicator to backoff the reservation ··· 1488 1488 } 1489 1489 1490 1490 /** 1491 - * amdgpu_cs_wait_all_fence - wait on all fences to signal 1491 + * amdgpu_cs_wait_all_fences - wait on all fences to signal 1492 1492 * 1493 1493 * @adev: amdgpu device 1494 1494 * @filp: file private ··· 1639 1639 } 1640 1640 1641 1641 /** 1642 - * amdgpu_cs_find_bo_va - find bo_va for VM address 1642 + * amdgpu_cs_find_mapping - find bo_va for VM address 1643 1643 * 1644 1644 * @parser: command submission parser context 1645 1645 * @addr: VM address