]> asedeno.scripts.mit.edu Git - linux.git/commit
misc/mei/hdcp: Initiate Wired HDCP2.2 Tx Session
authorRamalingam C <ramalingam.c@intel.com>
Thu, 21 Feb 2019 18:11:58 +0000 (23:41 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 25 Feb 2019 16:01:43 +0000 (17:01 +0100)
commita37fb1e4730205ff5aac413a14ad4f34ecec3e0c
tree485ed475037ce5eddaf83351a9f259148afa5ead
parentcf8ecce20268cfd25fdcdf8093d027e95ecdc1f8
misc/mei/hdcp: Initiate Wired HDCP2.2 Tx Session

Request ME FW to start the HDCP2.2 session for an intel port.
Prepares payloads for command WIRED_INITIATE_HDCP2_SESSION and sends
to ME FW.

On Success, ME FW will start a HDCP2.2 session for the port and
provides the content for HDCP2.2 AKE_Init message.

v2: Rebased.
v3:
  cldev is add as a separate parameter [Tomas]
  Redundant comment and typecast are removed [Tomas]
v4:
  %zd is used for size [Alexander]
  %s/return -1/return -EIO [Alexander]
  Spellings in commit msg is fixed [Uma]
v5: Rebased.
v6:
  Collected the rb-ed by.
  Realigning the patches in the series.
v7:
  Adjust to the new mei interface.
  Fix for kdoc.
v8:
  K-Doc Addition.
  memcpy for const length.
v9:
  s/mei_hdcp_ddi/mei_fw_ddi
  s/i915_port/mei_i915_port [Tomas]
  renamed func as mei_hdcp_* [Tomas]
  Instead of macro, inline func for ddi index is used. [Tomas]
v10:
  Switch case for the coversion between i915_port to mei_ddi [Tomas]
  Kernel doc fix.
v11:
  mei_hdcp_ops is defined as const. [Tomas]

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1550772730-23280-5-git-send-email-ramalingam.c@intel.com
drivers/misc/mei/hdcp/mei_hdcp.c
drivers/misc/mei/hdcp/mei_hdcp.h