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/amd/display: Add function banner for idle_workqueue

[Why]
htmldocs warning:
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h: warning:
Function parameter or struct member 'idle_workqueue' not described in
'amdgpu_display_manager'.

[How]
Add comment section for idle_workqueue with param description.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/dri-devel/20240715090211.736a9b4d@canb.auug.org.au/
Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Roman Li and committed by
Alex Deucher
0e2c796b 6e169c7e

+13
+13
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
··· 137 137 bool enable; 138 138 }; 139 139 140 + /** 141 + * struct idle_workqueue - Work data for periodic action in idle 142 + * @work: Kernel work data for the work event 143 + * @dm: amdgpu display manager device 144 + * @enable: true if idle worker is enabled 145 + * @running: true if idle worker is running 146 + */ 140 147 struct idle_workqueue { 141 148 struct work_struct work; 142 149 struct amdgpu_display_manager *dm; ··· 509 502 * Deferred work for vblank control events. 510 503 */ 511 504 struct workqueue_struct *vblank_control_workqueue; 505 + 506 + /** 507 + * @idle_workqueue: 508 + * 509 + * Periodic work for idle events. 510 + */ 512 511 struct idle_workqueue *idle_workqueue; 513 512 514 513 struct drm_atomic_state *cached_state;