drm/i915: update the hdcp state with uevent
authorRamalingam C <ramalingam.c@intel.com>
Thu, 1 Aug 2019 11:41:18 +0000 (17:11 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Tue, 6 Aug 2019 07:48:07 +0000 (13:18 +0530)
commita41e71f4e78819403859950c34a638655cfd7da3
tree595cb050b48faf831b0e67e04d8c7b29d914a810
parentbb5a45d40d50163df275c5a9578e19acdac361a2
drm/i915: update the hdcp state with uevent

drm function to update the content protection property state and to
generate a uevent is invoked from the intel hdcp property work.

Hence whenever kernel changes the property state, userspace will be
updated with a uevent.

v2:
  state update is moved into drm function [daniel]

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/320965/?series=57232&rev=14
drivers/gpu/drm/i915/display/intel_hdcp.c