Skip to content

Commit 0e2c796

Browse files
Roman Lialexdeucher
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/dri-devel/[email protected]/ Signed-off-by: Roman Li <[email protected]> Reviewed-by: Aurabindo Pillai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 6e169c7 commit 0e2c796

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,13 @@ struct vblank_control_work {
137137
bool enable;
138138
};
139139

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+
*/
140147
struct idle_workqueue {
141148
struct work_struct work;
142149
struct amdgpu_display_manager *dm;
@@ -502,6 +509,12 @@ struct amdgpu_display_manager {
502509
* Deferred work for vblank control events.
503510
*/
504511
struct workqueue_struct *vblank_control_workqueue;
512+
513+
/**
514+
* @idle_workqueue:
515+
*
516+
* Periodic work for idle events.
517+
*/
505518
struct idle_workqueue *idle_workqueue;
506519

507520
struct drm_atomic_state *cached_state;

0 commit comments

Comments
 (0)