drm/bridge_connector: use drm_kms_helper_connector_hotplug_event()
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
This commit is contained in:
parent
0cf8d292ba
commit
1627f650fa
|
@ -125,7 +125,7 @@ static void drm_bridge_connector_hpd_cb(void *cb_data,
|
||||||
|
|
||||||
drm_bridge_connector_hpd_notify(connector, status);
|
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)
|
static void drm_bridge_connector_enable_hpd(struct drm_connector *connector)
|
||||||
|
|
Loading…
Reference in New Issue