drm/i915: dont retry stream management at seq_num_m roll over
authorRamalingam C <ramalingam.c@intel.com>
Wed, 23 Sep 2020 13:24:35 +0000 (18:54 +0530)
committerRamalingam C <ramalingam.c@intel.com>
Thu, 24 Sep 2020 10:14:57 +0000 (15:44 +0530)
commitbff88b1c8ffddf32da75a1f7e8d10c93aaa26131
treee40c77df52a8c0e2566ed0b709d23d65ca7792ef
parentcb88d1fac196cc7c63f0786edb849da08b6092c1
drm/i915: dont retry stream management at seq_num_m roll over

When roll over detected for seq_num_m, we shouldn't continue with stream
management with rolled over value.

So we are terminating the stream management retry, on roll over of the
seq_num_m.

v2:
  using drm_dbg_kms instead of DRM_DEBUG_KMS [Anshuman]
v3:
  dev_priv is used as i915 [JaniN]
v4:
  roll over is detected at the start of the stream management.

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