Skip to content
Snippets Groups Projects
Commit 33e9323d authored by SRINIVASAN SHANMUGAM's avatar SRINIVASAN SHANMUGAM Committed by Linux Infrastructure
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>
parent 2fb9a08e
No related branches found
No related tags found
No related merge requests found
......@@ -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
* @f: fence to sync to
* @flags: memory allocation flags to use when allocating sync entry
*
* 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