Skip to contentSkip to conversation

drm/amd/display: Add htmldocs description for fused_io interface

PATCH In review [email protected] 2 participants 2 messages Apr 9, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: Add htmldocs description for fused_io interface

From: Roman Li <[email protected]>

[Why]
htmldocs build warning: "Function parameter or struct member 'fused_io' not described in 'amdgpu_display_manager'".

[How]
Add missing description.

Fixes af632d3f59e6 ("drm/amd/display: HDCP Locality check using DMUB Fused IO")
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 5 +++++
 1 file changed, 5 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h +5 -0
index f84d6cd4f733..bf2839bb80db 100644
@@ -639,6 +639,11 @@ struct amdgpu_display_manager {
 	 */
 	struct amdgpu_i2c_adapter *oem_i2c;
 
+	/**
+	 * @fused_io:
+	 *
+	 * dmub fused io interface
+	 */
 	struct fused_io_sync {
 		struct completion replied;
 		char reply_data[0x40];  // Cannot include dmub_cmd here
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw
Quoted 37 lines · On Wed, Apr 9, 2025 at 1:06 PM <[email protected]> wrote:

From: Roman Li <[email protected]>

[Why]
htmldocs build warning: "Function parameter or struct member 'fused_io' not described in 'amdgpu_display_manager'".

[How]
Add missing description.

Fixes af632d3f59e6 ("drm/amd/display: HDCP Locality check using DMUB Fused IO")
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 5 +++++
 1 file changed, 5 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h +5 -1
index f84d6cd4f733..bf2839bb80db 100644
@@ -639,6 +639,11 @@ struct amdgpu_display_manager {
         */
        struct amdgpu_i2c_adapter *oem_i2c;
 
+       /**
+        * @fused_io:
+        *
+        * dmub fused io interface
+        */
        struct fused_io_sync {
                struct completion replied;
                char reply_data[0x40];  // Cannot include dmub_cmd here
--

2.34.1