Skip to content
Permalink
Browse files
i915/display/dp: send a more fine-grained link-status uevent
When link-status changes, send a hotplug uevent which contains the
connector and property ID. That way, user-space can more easily
figure out that only the link-status property of this connector has
been updated.

Signed-off-by: Simon Ser <contact@emersion.fr>
  • Loading branch information
emersion authored and intel-lab-lkp committed Oct 15, 2021
1 parent 26f18ac commit fb2b373f5b3b0f1e37e56270bf7aa0e6332f880d
Showing 1 changed file with 2 additions and 0 deletions.
@@ -5264,6 +5264,8 @@ static void intel_dp_modeset_retry_work_fn(struct work_struct *work)
mutex_unlock(&connector->dev->mode_config.mutex);
/* Send Hotplug uevent so userspace can reprobe */
drm_kms_helper_hotplug_event(connector->dev);
drm_sysfs_connector_status_event(connector,
connector->dev->mode_config.link_status_property);
}

bool

0 comments on commit fb2b373

Please sign in to comment.