Messages in this thread |  | | From | CK Hu (胡俊光) <> | | Subject | Re: [PATCH] drm/mediatek/dp: Add the HDCP feature for DisplayPort | | Date | Thu, 4 Jan 2024 09:43:17 +0000 |
| |
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@mediatek.com> > ---
[snip]
> + > +struct hdcp2_info_rx { > + u8 cert[HDCP2_CERTRX_SIZE]; > + u8 rrx[HDCP2_RRX_SIZE]; > + u8 rx_caps[HDCP2_RXCAPS_SIZE]; > + u8 rx_info[HDCP2_RXINFO_SIZE]; > + u8 ekh_km[HDCP2_EKHKM_SIZE]; > + u8 v_prime[HDCP2_VPRIME_SIZE]; > + u8 m_prime[HDCP2_REP_MPRIME_SIZE]; > + u8 h_prime[HDCP2_HPRIME_SIZE]; > + u8 l_prime[HDCP2_LPRIME_SIZE];
This is defined in include/drm/display/drm_hdcp.h as struct hdcp2_lc_send_lprime{}, so I think you could reuse it. Ditto for all others in hdcp2_info_rx{}.
Regards, CK
> + u8 recv_id_list[HDCP2_MAX_DEVICE_COUNT * HDCP2_RECVID_SIZE]; > + u8 seq_num_v[HDCP2_SEQ_NUM_V_SIZE]; > +}; > +
|  |