drm/i915: Check hdcp key loadability
authorRamalingam C <ramalingam.c@intel.com>
Mon, 2 Apr 2018 10:10:33 +0000 (15:40 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 4 Apr 2018 19:00:33 +0000 (12:00 -0700)
commit6308a31544284c1f60ab9a3052ee05b7877421ca
treeeb932eeb705a69483a666a1a435508a228983055
parent41baafae293d617dc89ba320be662afffc5ada6d
drm/i915: Check hdcp key loadability

HDCP1.4 key can be loaded, only when Power well #1 is enabled and cdclk
is enabled. Using the I915 power well infrastruture, above requirement
is verified.

This patch enables the hdcp initialization for HSW, BDW, and BXT.

v2:
  Choose the PW# based on the platform.
v3:
  No Changes.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1522663834-24482-4-git-send-email-ramalingam.c@intel.com
drivers/gpu/drm/i915/intel_hdcp.c