diff options
author | Anshuman Gupta <anshuman.gupta@intel.com> | 2021-01-11 11:11:07 +0300 |
---|---|---|
committer | Anshuman Gupta <anshuman.gupta@intel.com> | 2021-01-13 05:59:31 +0300 |
commit | fbf652bdb4b24908dd4e44d542488fcc7bb423af (patch) | |
tree | 424e51579177c96fd53204e2d163c971a919c277 /drivers/gpu/drm/i915/display/intel_hdcp.h | |
parent | fc6097d4fb2988f12954993be70b882a345a35e5 (diff) | |
download | linux-fbf652bdb4b24908dd4e44d542488fcc7bb423af.tar.xz |
drm/i915/hdcp: Move HDCP enc status timeout to header
DP MST stream encryption status requires time of a link frame
in order to change its status, but as there were some HDCP
encryption timeout observed earlier, it is safer to use
ENCRYPT_STATUS_CHANGE_TIMEOUT_MS timeout for stream status too,
it requires to move the macro to a header.
It will be used by both HDCP{1.x,2.x} stream status timeout.
Related: 'commit 7e90e8d0c0ea ("drm/i915: Increase timeout for Encrypt
status change")'
Cc: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Tested-by: Karthik B S <karthik.b.s@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210111081120.28417-7-anshuman.gupta@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_hdcp.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_hdcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_hdcp.h b/drivers/gpu/drm/i915/display/intel_hdcp.h index bc51c1e9b481..b912a3a0f5b8 100644 --- a/drivers/gpu/drm/i915/display/intel_hdcp.h +++ b/drivers/gpu/drm/i915/display/intel_hdcp.h @@ -8,6 +8,8 @@ #include <linux/types.h> +#define HDCP_ENCRYPT_STATUS_CHANGE_TIMEOUT_MS 50 + struct drm_connector; struct drm_connector_state; struct drm_i915_private; |