drm/i915: HDCP: retry link integrity check on failure
authorOliver Barta <oliver.barta@aptiv.com>
Mon, 4 May 2020 12:35:24 +0000 (14:35 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 30 Jun 2020 07:52:05 +0000 (10:52 +0300)
commitb08239b2f47190981309c29149e31f111f699aab
tree681d5ee17259876e70d311d754d1f583660dffe9
parent4003dac180d059ebd6f39b63dd33df408c1e4914
drm/i915: HDCP: retry link integrity check on failure

A single Ri mismatch doesn't automatically mean that the link integrity
is broken. Update and check of Ri and Ri' are done asynchronously. In
case an update happens just between the read of Ri' and the check against
Ri there will be a mismatch even if the link integrity is fine otherwise.

Signed-off-by: Oliver Barta <oliver.barta@aptiv.com>
Reviewed-by: Sean Paul <sean@poorly.run>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200504123524.7731-1-oliver.barta@aptiv.com
drivers/gpu/drm/i915/display/intel_hdmi.c