OSDN Git Service

drm/i915: MEI interface definition
authorRamalingam C <ramalingam.c@intel.com>
Fri, 15 Feb 2019 08:35:00 +0000 (14:05 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 15 Feb 2019 17:56:35 +0000 (18:56 +0100)
Defining the mei-i915 interface functions and initialization of
the interface.

v2:
  Adjust to the new interface changes. [Tomas]
  Added further debug logs for the failures at MEI i/f.
  port in hdcp_port data is equipped to handle -ve values.
v3:
  mei comp is matched for global i915 comp master. [Daniel]
  In hdcp_shim hdcp_protocol() is replaced with const variable. [Daniel]
  mei wrappers are adjusted as per the i/f change [Daniel]
v4:
  port initialization is done only at hdcp2_init only [Danvet]
v5:
  I915 registers a subcomponent to be matched with mei_hdcp [Daniel]
v6:
  HDCP_disable for all connectors incase of comp_unbind.
  Tear down HDCP comp interface at i915_unload [Daniel]
v7:
  Component init and fini are moved out of connector ops [Daniel]
  hdcp_disable is not called from unbind. [Daniel]

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> [v11]
[danvet: For the topic/mei-hdcp shared branch drop everything but the
header change needed by both drm/i915 and mei-hdcp. Also drop the no
longer needed device.h include.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1550219730-17734-6-git-send-email-ramalingam.c@intel.com
include/drm/i915_component.h

index 72fbb03..dcb95bd 100644 (file)
@@ -28,6 +28,7 @@
 
 enum i915_component_type {
        I915_COMPONENT_AUDIO = 1,
+       I915_COMPONENT_HDCP,
 };
 
 /* MAX_PORT is the number of port