From: Anshuman Gupta Date: Mon, 11 Jan 2021 08:11:14 +0000 (+0530) Subject: drm/hdcp: Max MST content streams X-Git-Tag: accepted/tizen/unified/20230118.172025~6402^2~29^2~547 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=90103622c30b13d97a1f5ae7d03cdd0fd79951c3;p=platform%2Fkernel%2Flinux-rpi.git drm/hdcp: Max MST content streams Let's define Maximum MST content streams up to four generically which can be supported by modern display controllers. Cc: Sean Paul Cc: Ramalingam C Acked-by: Maarten Lankhorst Reviewed-by: Uma Shankar Reviewed-by: Ramalingam C Tested-by: Karthik B S Signed-off-by: Anshuman Gupta Link: https://patchwork.freedesktop.org/patch/msgid/20210111081120.28417-14-anshuman.gupta@intel.com --- diff --git a/include/drm/drm_hdcp.h b/include/drm/drm_hdcp.h index fe58dbb..ac22c24 100644 --- a/include/drm/drm_hdcp.h +++ b/include/drm/drm_hdcp.h @@ -101,11 +101,11 @@ /* Following Macros take a byte at a time for bit(s) masking */ /* - * TODO: This has to be changed for DP MST, as multiple stream on - * same port is possible. - * For HDCP2.2 on HDMI and DP SST this value is always 1. + * TODO: HDCP_2_2_MAX_CONTENT_STREAMS_CNT is based upon actual + * H/W MST streams capacity. + * This required to be moved out to platform specific header. */ -#define HDCP_2_2_MAX_CONTENT_STREAMS_CNT 1 +#define HDCP_2_2_MAX_CONTENT_STREAMS_CNT 4 #define HDCP_2_2_TXCAP_MASK_LEN 2 #define HDCP_2_2_RXCAPS_LEN 3 #define HDCP_2_2_RX_REPEATER(x) ((x) & BIT(0))