drm/i915: Start repeater auth on READY/CP_IRQ
authorRamalingam C <ramalingam.c@intel.com>
Thu, 18 Jan 2018 05:48:07 +0000 (11:18 +0530)
committerSean Paul <seanpaul@chromium.org>
Thu, 18 Jan 2018 22:55:26 +0000 (17:55 -0500)
commit24b42cbadb73e0b9ac67c2d619073b394bc146bd
tree056806819a11c51889f6d193420c061b79746393
parent87eb3ec818fa57bc49ce419785c56d72d9da1faa
drm/i915: Start repeater auth on READY/CP_IRQ

Second stage of HDCP authentication starts at CP_IRQ or at the
assertion of READY bit from Repeater.

Till then repeater will be authenticating with its downstream devices.
So authenticated device count, depth and ksv_list readable from
repeaters are valid only after assertion of READY/CP_IRQ.

This patch makes sure that READY is polled before reading any
topology information.

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