Skip to content
Snippets Groups Projects
Commit 15fe6838 authored by SRINIVASAN SHANMUGAM's avatar SRINIVASAN SHANMUGAM Committed by Alex Deucher
Browse files

drm/amdgpu: Add parameter documentation for amdgpu_sync_fence


The 'flags' parameter, which specifies memory allocation behavior while
creating a sync entry,

Fixes the below with gcc W=1:
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:162: warning: Function parameter or struct member 'flags' not described in 'amdgpu_sync_fence'

Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 145c63aa
No related merge requests found
...@@ -154,6 +154,7 @@ static bool amdgpu_sync_add_later(struct amdgpu_sync *sync, struct dma_fence *f) ...@@ -154,6 +154,7 @@ static bool amdgpu_sync_add_later(struct amdgpu_sync *sync, struct dma_fence *f)
* *
* @sync: sync object to add fence to * @sync: sync object to add fence to
* @f: fence to sync to * @f: fence to sync to
* @flags: memory allocation flags to use when allocating sync entry
* *
* Add the fence to the sync object. * Add the fence to the sync object.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment