Add a kernel-doc comment for @power_module and use the correct name
for @boot_time_crc_info to eliminate kernel-doc warnings:
WARNING: ../drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:715 struct
member 'power_module' not described in 'amdgpu_display_manager'
WARNING: ../drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:715 struct
member 'boot_time_crc_info' not described in 'amdgpu_display_manager'
WARNING: ../drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h:715 Excess
struct member 'dm_boot_time_crc_info' description in 'amdgpu_display_manager'
Fixes: b034c5b0d831 ("drm/amd/display: Add a buffer for boot time crc")
Fixes: 3c108046e1d6 ("drm/amd/display: Add power module on Linux")
Signed-off-by: Randy Dunlap <[email protected]>
---
Cc: Tom Chung <[email protected]>
Cc: Chuanyu Tseng <[email protected]>
Cc: Ray Wu <[email protected]>
Cc: Leo Li <[email protected]>
Cc: Chenyu Chen <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: Christian König <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: [email protected]
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- linux-next-20260520.orig/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
+++ linux-next-20260520/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
@@ -330,6 +330,7 @@ struct hpd_rx_irq_offload_work {
* @backlight_link: Link on which to control backlight
* @backlight_caps: Capabilities of the backlight device
* @freesync_module: Module handling freesync calculations
+ * @power_module: Manages replay, PSR, and backlight control functionality
* @hdcp_workqueue: AMDGPU content protection queue
* @fw_dmcu: Reference to DMCU firmware
* @dmcu_fw_version: Version of the DMCU firmware
@@ -708,7 +709,7 @@ struct amdgpu_display_manager {
} fused_io[8];
/**
- * @dm_boot_time_crc_info:
+ * @boot_time_crc_info:
*
* Buffer info for the boot time crc.
*/