On 20/05/2026 20.37, Randy Dunlap wrote:
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]>
---
...
--- 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.
         */


I just ran into these kerneldoc warnings, too, would be nice to get those fixed, indeed!

Reviewed-by: Thomas Huth <[email protected]>

Reply via email to