drm: uevent for connector status change
authorRamalingam C <ramalingam.c@intel.com>
Thu, 1 Aug 2019 11:41:16 +0000 (17:11 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Tue, 6 Aug 2019 07:46:54 +0000 (13:16 +0530)
commit6fe2ce064936efe5fbf2ce62c0b9be790d75189f
treee3ee1656976a05c9bdd885e0ee9934619f98dde9
parentd456512c39ccc2d575135fe13156b61eb17c0b2a
drm: uevent for connector status change

DRM API for generating uevent for a status changes of connector's
property.

This uevent will have following details related to the status change:

  HOTPLUG=1, CONNECTOR=<connector_id> and PROPERTY=<property_id>

Pekka have completed the Weston DRM-backend review in
https://gitlab.freedesktop.org/wayland/weston/merge_requests/48
and the UAPI for HDCP 2.2 looks good.

The userspace is accepted in Weston.

v2:
  Minor fixes at KDoc comments [Daniel]
v3:
  Check the property is really attached with connector [Daniel]
v4:
  Typos and string length suggestions are addressed [Sean]

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Sean Paul <sean@poorly.run>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/320961/?series=57232&rev=14
drivers/gpu/drm/drm_sysfs.c
include/drm/drm_sysfs.h