• Ramalingam C's avatar
    drm/i915: Initialize HDCP2.2 · 04707f97
    Ramalingam C authored
    Add the HDCP2.2 initialization to the existing HDCP1.4 stack.
    
    v2:
      mei interface handle is protected with mutex. [Chris Wilson]
    v3:
      Notifiers are used for the mei interface state.
    v4:
      Poll for mei client device state
      Error msg for out of mem [Uma]
      Inline req for init function removed [Uma]
    v5:
      Rebase as Part of reordering.
      Component is used for the I915 and MEI_HDCP interface [Daniel]
    v6:
      HDCP2.2 uses the I915 component master to communicate with mei_hdcp
    	- [Daniel]
      Required HDCP2.2 variables defined [Sean Paul]
    v7:
      intel_hdcp2.2_init returns void [Uma]
      Realigning the codes.
    v8:
      Avoid using bool structure members.
      MEI interface related changes are moved into separate patch.
      Commit msg is updated accordingly.
      intel_hdcp_exit is defined and used from i915_unload
    v9:
      Movement of the hdcp_check_link is moved to new patch [Daniel]
      intel_hdcp2_exit is removed as mei_comp will be unbind in i915_unload.
    v10:
      bool is used in struct to make coding simpler. [Daniel]
      hdmi hdcp init is placed correctly after encoder attachment.
    v11:
      hdcp2_capability check is moved into hdcp.c [Tomas]
    Signed-off-by: default avatarRamalingam C <ramalingam.c@intel.com>
    Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    Reviewed-by: default avatarUma Shankar <uma.shankar@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    Link: https://patchwork.freedesktop.org/patch/msgid/1550338640-17470-4-git-send-email-ramalingam.c@intel.com
    04707f97
intel_drv.h 81.9 KB