[PATCH] drm/bridge: Describe the newly introduced drm_connector parameter for drm_bridge_detect

Andy Yan posted 1 patch 2 months, 3 weeks ago
drivers/gpu/drm/drm_bridge.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] drm/bridge: Describe the newly introduced drm_connector parameter for drm_bridge_detect
Posted by Andy Yan 2 months, 3 weeks ago
This fix the make htmldocs warnings:
drivers/gpu/drm/drm_bridge.c:1242: warning: Function parameter or struct
member 'connector' not described in 'drm_bridge_detect'

Fixes: 5d156a9c3d5e ("drm/bridge: Pass down connector to drm bridge detect hook")
Signed-off-by: Andy Yan <andyshrk@163.com>
---

 drivers/gpu/drm/drm_bridge.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/drm_bridge.c b/drivers/gpu/drm/drm_bridge.c
index dd45d9b504d8..4bde00083047 100644
--- a/drivers/gpu/drm/drm_bridge.c
+++ b/drivers/gpu/drm/drm_bridge.c
@@ -1227,6 +1227,7 @@ EXPORT_SYMBOL(drm_atomic_bridge_chain_check);
 /**
  * drm_bridge_detect - check if anything is attached to the bridge output
  * @bridge: bridge control structure
+ * @connector: attached connector
  *
  * If the bridge supports output detection, as reported by the
  * DRM_BRIDGE_OP_DETECT bridge ops flag, call &drm_bridge_funcs.detect for the
-- 
2.43.0

base-commit: b5e5ea72502e635ae10c33dd877c918c880f7bf0
branch: drm-misc-next
Re: [PATCH] drm/bridge: Describe the newly introduced drm_connector parameter for drm_bridge_detect
Posted by Dmitry Baryshkov 2 months ago
On Wed, Jul 16, 2025 at 08:55:55PM +0800, Andy Yan wrote:
> This fix the make htmldocs warnings:
> drivers/gpu/drm/drm_bridge.c:1242: warning: Function parameter or struct
> member 'connector' not described in 'drm_bridge_detect'
> 
> Fixes: 5d156a9c3d5e ("drm/bridge: Pass down connector to drm bridge detect hook")
> Signed-off-by: Andy Yan <andyshrk@163.com>
> ---
> 
>  drivers/gpu/drm/drm_bridge.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry
Re: [PATCH] drm/bridge: Describe the newly introduced drm_connector parameter for drm_bridge_detect
Posted by Dmitry Baryshkov 2 months ago
On Wed, 16 Jul 2025 20:55:55 +0800, Andy Yan wrote:
> This fix the make htmldocs warnings:
> drivers/gpu/drm/drm_bridge.c:1242: warning: Function parameter or struct
> member 'connector' not described in 'drm_bridge_detect'
> 
> 

Applied to drm-misc-next-fixes, thanks!

[1/1] drm/bridge: Describe the newly introduced drm_connector parameter for drm_bridge_detect
      commit: 584460393efbcccb6388b1cd5d37284b5326709c

Best regards,
-- 
With best wishes
Dmitry