drm/i915: terminate reauth at stream management failure
authorRamalingam C <ramalingam.c@intel.com>
Wed, 23 Sep 2020 13:24:34 +0000 (18:54 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Thu, 24 Sep 2020 10:14:46 +0000 (15:44 +0530)
commitcb88d1fac196cc7c63f0786edb849da08b6092c1
treeb2f3d935e571e80766cd48e76c4113e877952064
parent94a4fb8a316e9380a0cb2a516ef24bf157c38cf6
drm/i915: terminate reauth at stream management failure

As per the HDCP2.2 compliance test 1B-10 expectation, when stream
management for a repeater fails, we retry thrice and when it fails
in all retries, HDCP2.2 reauthentication aborted at kernel.

v2:
  seq_num_m++ is extended for steam management failures too.[Anshuman]
v3:
  use drm_dbg_kms instead of DRM_DEBUG_KMS [Anshuman]
v4:
  dev_priv is used as i915 [JaniN]
v5:
  Few improvisements are done [Sean]

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Tested-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200923132435.17039-2-anshuman.gupta@intel.com
drivers/gpu/drm/i915/display/intel_hdcp.c