UPSTREAM: 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
(cherry picked from commit 24b42cbadb73e0b9ac67c2d619073b394bc146bd)
Signed-off-by: Sean Paul <seanpaul@chromium.org>

Change-Id: I36ac1d24ee0c2d202b15d315712cf4d48c714ec8
Reviewed-on: https://chromium-review.googlesource.com/877082
Commit-Ready: Sean Paul <seanpaul@google.com>
Tested-by: Sean Paul <seanpaul@google.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org>
1 file changed