i915/display/dp: send a more fine-grained link-status uevent
When link-status changes, send a hotplug uevent which contains the connector ID. That way, user-space can more easily figure out that only this connector has been updated. Changes in v4: avoid sending two uevents (Ville) Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211018084707.32253-7-contact@emersion.fr
This commit is contained in:
parent
d35d4dbcc8
commit
23c5096839
|
@ -4947,7 +4947,7 @@ static void intel_dp_modeset_retry_work_fn(struct work_struct *work)
|
|||
DRM_MODE_LINK_STATUS_BAD);
|
||||
mutex_unlock(&connector->dev->mode_config.mutex);
|
||||
/* Send Hotplug uevent so userspace can reprobe */
|
||||
drm_kms_helper_hotplug_event(connector->dev);
|
||||
drm_kms_helper_connector_hotplug_event(connector);
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in New Issue