]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Increase timeout for Encrypt status change
authorRamalingam C <ramalingam.c@intel.com>
Wed, 5 Dec 2018 11:44:43 +0000 (17:14 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Dec 2018 08:17:15 +0000 (09:17 +0100)
commit7a807b48c14e5643bef6d95f023179ab058e1ef8
tree12295449f8f3669766b4e748a19fbf34ef1d6a09
parentc9cbabf746027f457de5b3ce4070a3e93485af76
drm/i915: Increase timeout for Encrypt status change

At enable/disable of the HDCP encryption, for encryption status change
we need minimum one frame duration. And we might program this bit any
point(start/End) in the previous frame.

With 20mSec, observed the timeout for change in encryption status.
Since this is not time critical operation and we need to hold on
until the status is changed, fixing the timeout to 50mSec. (Based on
trial and error method!)

v2:
  %s/TIME_FOR_ENCRYPT_STATUS_CHANGE/ENCRYPT_STATUS_CHANGE_TIMEOUT_MS
[Sean Paul]

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Sean Paul <sean@poorly.run>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1544010283-20223-5-git-send-email-ramalingam.c@intel.com
drivers/gpu/drm/i915/intel_hdcp.c