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

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: add "restore" missing variable comment

add "restore" missing variable in the fucntions
sdma_v4_4_2_page_resume and sdma_v4_4_2_inst_start.

This fixes the warning:
warning: Function parameter or struct member 'restore' not described in 'sdma_v4_4_2_page_resume'
warning: Function parameter or struct member 'restore' not described in 'sdma_v4_4_2_inst_start'

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Sunil Khatri and committed by
Alex Deucher
86fa54f3 093bbeb9

+2
+2
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
··· 764 764 * 765 765 * @adev: amdgpu_device pointer 766 766 * @i: instance to resume 767 + * @restore: boolean to say restore needed or not 767 768 * 768 769 * Set up the page DMA ring buffers and enable them. 769 770 * Returns 0 for success, error for failure. ··· 929 928 * 930 929 * @adev: amdgpu_device pointer 931 930 * @inst_mask: mask of dma engine instances to be enabled 931 + * @restore: boolean to say restore needed or not 932 932 * 933 933 * Set up the DMA engines and enable them. 934 934 * Returns 0 for success, error for failure.