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

drm/amd/amdgpu/amdgpu_cs: Add a couple of missing function param descriptions

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

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:685: warning: Function parameter or member 'backoff' not described in 'amdgpu_cs_parser_fini'
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1655: warning: Function parameter or member 'map' not described in 'amdgpu_cs_find_mapping'

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
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
fec3124d 4a00eb18

+2
+2
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
··· 676 676 * cs_parser_fini() - clean parser states 677 677 * @parser: parser structure holding parsing context. 678 678 * @error: error number 679 + * @backoff: indicator to backoff the reservation 679 680 * 680 681 * If error is set than unvalidate buffer, otherwise just free memory 681 682 * used by parsing context. ··· 1645 1644 * @parser: command submission parser context 1646 1645 * @addr: VM address 1647 1646 * @bo: resulting BO of the mapping found 1647 + * @map: Placeholder to return found BO mapping 1648 1648 * 1649 1649 * Search the buffer objects in the command submission context for a certain 1650 1650 * virtual memory address. Returns allocation structure when found, NULL