* [PATCH] drm/bridge: correct DRM_BRIDGE_OP_EDID documentation
@ 2024-03-09 23:38 Dmitry Baryshkov
2024-03-11 8:28 ` Neil Armstrong
2024-03-11 9:05 ` Jani Nikula
0 siblings, 2 replies; 3+ messages in thread
From: Dmitry Baryshkov @ 2024-03-09 23:38 UTC (permalink / raw)
To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
Jonas Karlman, Jernej Skrabec, David Airlie, Daniel Vetter,
Jani Nikula
Cc: dri-devel
While the commit d807ad80d811 ("drm/bridge: add ->edid_read hook and
drm_bridge_edid_read()") and the commit 27b8f91c08d9 ("drm/bridge:
remove ->get_edid callback") replaced ->get_edid() callback with the
->edid_read(), they failed to update documentation. Fix the drm_bridge
docs to point to edid_read().
Fixes: 27b8f91c08d9 ("drm/bridge: remove ->get_edid callback")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
include/drm/drm_bridge.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h
index 3606e1a7f965..4baca0d9107b 100644
--- a/include/drm/drm_bridge.h
+++ b/include/drm/drm_bridge.h
@@ -541,7 +541,7 @@ struct drm_bridge_funcs {
* The @get_modes callback is mostly intended to support non-probeable
* displays such as many fixed panels. Bridges that support reading
* EDID shall leave @get_modes unimplemented and implement the
- * &drm_bridge_funcs->get_edid callback instead.
+ * &drm_bridge_funcs->edid_read callback instead.
*
* This callback is optional. Bridges that implement it shall set the
* DRM_BRIDGE_OP_MODES flag in their &drm_bridge->ops.
@@ -687,7 +687,7 @@ enum drm_bridge_ops {
/**
* @DRM_BRIDGE_OP_EDID: The bridge can retrieve the EDID of the display
* connected to its output. Bridges that set this flag shall implement
- * the &drm_bridge_funcs->get_edid callback.
+ * the &drm_bridge_funcs->edid_read callback.
*/
DRM_BRIDGE_OP_EDID = BIT(1),
/**
---
base-commit: 1843e16d2df9d98427ef8045589571749d627cf7
change-id: 20240310-drm-bridge-fix-docs-0fd12bc6a041
Best regards,
--
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/bridge: correct DRM_BRIDGE_OP_EDID documentation
2024-03-09 23:38 [PATCH] drm/bridge: correct DRM_BRIDGE_OP_EDID documentation Dmitry Baryshkov
@ 2024-03-11 8:28 ` Neil Armstrong
2024-03-11 9:05 ` Jani Nikula
1 sibling, 0 replies; 3+ messages in thread
From: Neil Armstrong @ 2024-03-11 8:28 UTC (permalink / raw)
To: Dmitry Baryshkov, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Andrzej Hajda, Robert Foss, Laurent Pinchart,
Jonas Karlman, Jernej Skrabec, David Airlie, Daniel Vetter,
Jani Nikula
Cc: dri-devel
On 10/03/2024 00:38, Dmitry Baryshkov wrote:
> While the commit d807ad80d811 ("drm/bridge: add ->edid_read hook and
> drm_bridge_edid_read()") and the commit 27b8f91c08d9 ("drm/bridge:
> remove ->get_edid callback") replaced ->get_edid() callback with the
> ->edid_read(), they failed to update documentation. Fix the drm_bridge
> docs to point to edid_read().
>
> Fixes: 27b8f91c08d9 ("drm/bridge: remove ->get_edid callback")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
> include/drm/drm_bridge.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h
> index 3606e1a7f965..4baca0d9107b 100644
> --- a/include/drm/drm_bridge.h
> +++ b/include/drm/drm_bridge.h
> @@ -541,7 +541,7 @@ struct drm_bridge_funcs {
> * The @get_modes callback is mostly intended to support non-probeable
> * displays such as many fixed panels. Bridges that support reading
> * EDID shall leave @get_modes unimplemented and implement the
> - * &drm_bridge_funcs->get_edid callback instead.
> + * &drm_bridge_funcs->edid_read callback instead.
> *
> * This callback is optional. Bridges that implement it shall set the
> * DRM_BRIDGE_OP_MODES flag in their &drm_bridge->ops.
> @@ -687,7 +687,7 @@ enum drm_bridge_ops {
> /**
> * @DRM_BRIDGE_OP_EDID: The bridge can retrieve the EDID of the display
> * connected to its output. Bridges that set this flag shall implement
> - * the &drm_bridge_funcs->get_edid callback.
> + * the &drm_bridge_funcs->edid_read callback.
> */
> DRM_BRIDGE_OP_EDID = BIT(1),
> /**
>
> ---
> base-commit: 1843e16d2df9d98427ef8045589571749d627cf7
> change-id: 20240310-drm-bridge-fix-docs-0fd12bc6a041
>
> Best regards,
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/bridge: correct DRM_BRIDGE_OP_EDID documentation
2024-03-09 23:38 [PATCH] drm/bridge: correct DRM_BRIDGE_OP_EDID documentation Dmitry Baryshkov
2024-03-11 8:28 ` Neil Armstrong
@ 2024-03-11 9:05 ` Jani Nikula
1 sibling, 0 replies; 3+ messages in thread
From: Jani Nikula @ 2024-03-11 9:05 UTC (permalink / raw)
To: Dmitry Baryshkov, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Andrzej Hajda, Neil Armstrong, Robert Foss,
Laurent Pinchart, Jonas Karlman, Jernej Skrabec, David Airlie,
Daniel Vetter
Cc: dri-devel
On Sun, 10 Mar 2024, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> wrote:
> While the commit d807ad80d811 ("drm/bridge: add ->edid_read hook and
> drm_bridge_edid_read()") and the commit 27b8f91c08d9 ("drm/bridge:
> remove ->get_edid callback") replaced ->get_edid() callback with the
> ->edid_read(), they failed to update documentation. Fix the drm_bridge
> docs to point to edid_read().
>
> Fixes: 27b8f91c08d9 ("drm/bridge: remove ->get_edid callback")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
My bad, thanks for fixing it!
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
> ---
> include/drm/drm_bridge.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h
> index 3606e1a7f965..4baca0d9107b 100644
> --- a/include/drm/drm_bridge.h
> +++ b/include/drm/drm_bridge.h
> @@ -541,7 +541,7 @@ struct drm_bridge_funcs {
> * The @get_modes callback is mostly intended to support non-probeable
> * displays such as many fixed panels. Bridges that support reading
> * EDID shall leave @get_modes unimplemented and implement the
> - * &drm_bridge_funcs->get_edid callback instead.
> + * &drm_bridge_funcs->edid_read callback instead.
> *
> * This callback is optional. Bridges that implement it shall set the
> * DRM_BRIDGE_OP_MODES flag in their &drm_bridge->ops.
> @@ -687,7 +687,7 @@ enum drm_bridge_ops {
> /**
> * @DRM_BRIDGE_OP_EDID: The bridge can retrieve the EDID of the display
> * connected to its output. Bridges that set this flag shall implement
> - * the &drm_bridge_funcs->get_edid callback.
> + * the &drm_bridge_funcs->edid_read callback.
> */
> DRM_BRIDGE_OP_EDID = BIT(1),
> /**
>
> ---
> base-commit: 1843e16d2df9d98427ef8045589571749d627cf7
> change-id: 20240310-drm-bridge-fix-docs-0fd12bc6a041
>
> Best regards,
--
Jani Nikula, Intel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-11 9:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-09 23:38 [PATCH] drm/bridge: correct DRM_BRIDGE_OP_EDID documentation Dmitry Baryshkov
2024-03-11 8:28 ` Neil Armstrong
2024-03-11 9:05 ` Jani Nikula
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.