Re: [PATCH] drm/mediatek/dp: Add the HDCP feature for DisplayPort

From: CK Hu (胡俊光)
Date: Thu Jan 04 2024 - 04:11:04 EST


Hi, Mac:

On Fri, 2023-11-24 at 16:53 +0800, mac.shen wrote:
> Add tee client application, HDCP 1.x and 2.x authentication for
> DisplayPort
> to support the HDCP feature.
>
> Signed-off-by: mac.shen <mac.shen@xxxxxxxxxxxx>
> ---

[snip]

> +
> +/* Timeout relative */
> +#define HDCP2_AKESENDCERT_WDT 100 // 100ms
> +#define HDCP2_AKESENDHPRIME_NO_STORED_WDT 1000 // 1sec
> +#define HDCP2_AKESENDHPRIME_STORED_WDT 200 // 200ms
> +#define HDCP2_AKESENDPAIRINGINFO_WDT 200 // 200ms
> +#define HDCP2_LCSENDLPRIME_WDT 7 // 7ms
> +#define HDCP2_ENC_EN_TIMER 200 // 200 ms
> +#define HDCP2_REPAUTHSENDRECVID_WDT 3000 // 3 sec

Is this HDCP_2_2_RECVID_LIST_TIMEOUT_MS? If these are defined in HDCP
specification, move these definition to include/drm/display/drm_hdcp.h

Regards,
CK

> +#define HDCP2_REP_SEND_ACK 2000 // 2 Sec
> +#define HDCP2_REPAUTHSTREAMRDY_WDT 100 // 100 ms
> +