[PATCH v2 1/3] drm/probe-helper: Document drm_helper_hpd_irq_event() return value

Sam Ravnborg sam at ravnborg.org
Tue Sep 14 15:19:36 UTC 2021


On Tue, Sep 14, 2021 at 12:17:22PM +0200, Maxime Ripard wrote:
> The documentation of the drm_helper_hpd_irq_event() function didn't
> document the value that function was returning. Add that part as well.
> 
> Signed-off-by: Maxime Ripard <maxime at cerno.tech>
Reviewed-by: Sam Ravnborg <sam at ravnborg.org>
> 
> ---
> 
> Changes from v2:
>   - new patch
> ---
>  drivers/gpu/drm/drm_probe_helper.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/drm_probe_helper.c b/drivers/gpu/drm/drm_probe_helper.c
> index 5606bca3caa8..5b77fb5c1a32 100644
> --- a/drivers/gpu/drm/drm_probe_helper.c
> +++ b/drivers/gpu/drm/drm_probe_helper.c
> @@ -817,6 +817,9 @@ EXPORT_SYMBOL(drm_kms_helper_poll_fini);
>   *
>   * Note that a connector can be both polled and probed from the hotplug handler,
>   * in case the hotplug interrupt is known to be unreliable.
> + *
> + * Returns:
> + * A boolean indicating whether the connector status changed or not
>   */
>  bool drm_helper_hpd_irq_event(struct drm_device *dev)
>  {
> -- 
> 2.31.1


More information about the dri-devel mailing list