OSDN Git Service

i915/display/dp: send a more fine-grained link-status uevent
authorSimon Ser <contact@emersion.fr>
Mon, 18 Oct 2021 08:47:31 +0000 (08:47 +0000)
committerSimon Ser <contact@emersion.fr>
Tue, 2 Nov 2021 13:27:16 +0000 (14:27 +0100)
commit23c50968399f270098f1fd0bc1ad83244dafb659
tree611b7bc860fe504d04a6cb79ac1591514d002983
parentd35d4dbcc80dfbd58a3ef18cee2b92f49a6a92c4
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
drivers/gpu/drm/i915/display/intel_dp.c