drm/bridge_connector: use drm_kms_helper_connector_hotplug_event()
authorSimon Ser <contact@emersion.fr>
Tue, 20 Jun 2023 17:55:09 +0000 (17:55 +0000)
committerSimon Ser <contact@emersion.fr>
Fri, 23 Jun 2023 13:54:51 +0000 (15:54 +0200)
This adds more information to the hotplug uevent and lets user-space
know that it's about a particular connector only.

Signed-off-by: Simon Ser <contact@emersion.fr>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230620175506.263109-1-contact@emersion.fr
drivers/gpu/drm/drm_bridge_connector.c

index 19ae4a1..fc6f16e 100644 (file)
@@ -125,7 +125,7 @@ static void drm_bridge_connector_hpd_cb(void *cb_data,
 
        drm_bridge_connector_hpd_notify(connector, status);
 
-       drm_kms_helper_hotplug_event(dev);
+       drm_kms_helper_connector_hotplug_event(connector);
 }
 
 static void drm_bridge_connector_enable_hpd(struct drm_connector *connector)