]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Attach content type property
authorRamalingam C <ramalingam.c@intel.com>
Thu, 1 Aug 2019 11:41:15 +0000 (17:11 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Tue, 6 Aug 2019 07:45:41 +0000 (13:15 +0530)
commite9ad9849df013dae6d7ff8e7b11d2c805acccc5d
tree1d4c3fc5a4625b4de4770a3e7a4731c69ff8ff2b
parente6da525c700874d31e324ac1d35e12ca4cd30125
drm/i915: Attach content type property

Attaches the content type property for HDCP2.2 capable connectors.

Implements the update of content type from property and apply the
restriction on HDCP version selection.

Need ACK for content type property from userspace consumer.

v2:
  s/cp_content_type/content_protection_type [daniel]
  disable at hdcp_atomic_check to avoid check at atomic_set_property
[Maarten]
v3:
  s/content_protection_type/hdcp_content_type [Pekka]
v4:
  hdcp disable incase of type change is moved into commit [daniel].
v5:
  Simplified the Type change procedure. [Daniel]
v6:
  Type change with UNDESIRED state is ignored.

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/320959/?series=57232&rev=14
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_hdcp.c
drivers/gpu/drm/i915/display/intel_hdcp.h