diff options
| author | Lee Jones <lee.jones@linaro.org> | 2020-11-12 19:00:28 +0000 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-13 00:15:08 -0500 | 
| commit | fec3124dc627c2cefc276534130898c3fb38dca1 (patch) | |
| tree | b5f92e5b293b228d062702df26d396fc7fc76d42 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | 4a00eb184234d25d132a3516f5e8b879801d39ad (diff) | |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 8d2878e950da..594a0108e90f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c @@ -676,6 +676,7 @@ static int amdgpu_cs_sync_rings(struct amdgpu_cs_parser *p)   * cs_parser_fini() - clean parser states   * @parser:	parser structure holding parsing context.   * @error:	error number + * @backoff:	indicator to backoff the reservation   *   * If error is set than unvalidate buffer, otherwise just free memory   * used by parsing context. @@ -1644,6 +1645,7 @@ err_free_fences:   * @parser: command submission parser context   * @addr: VM address   * @bo: resulting BO of the mapping found + * @map: Placeholder to return found BO mapping   *   * Search the buffer objects in the command submission context for a certain   * virtual memory address. Returns allocation structure when found, NULL | 
