Home
last modified time | relevance | path

Searched refs:hdcp2 (Results 1 – 9 of 9) sorted by relevance

/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_ddc.c372 &hdcp->auth.msg.hdcp2.hdcp2version_hdmi, in mod_hdcp_read_hdcp2version()
373 sizeof(hdcp->auth.msg.hdcp2.hdcp2version_hdmi)); in mod_hdcp_read_hdcp2version()
386 hdcp->auth.msg.hdcp2.rxcaps_dp, in mod_hdcp_read_rxcaps()
387 sizeof(hdcp->auth.msg.hdcp2.rxcaps_dp)); in mod_hdcp_read_rxcaps()
398 &hdcp->auth.msg.hdcp2.rxstatus_dp, in mod_hdcp_read_rxstatus()
402 (uint8_t *)&hdcp->auth.msg.hdcp2.rxstatus, in mod_hdcp_read_rxstatus()
403 sizeof(hdcp->auth.msg.hdcp2.rxstatus)); in mod_hdcp_read_rxstatus()
413 hdcp->auth.msg.hdcp2.ake_cert[0] = HDCP_2_2_AKE_SEND_CERT; in mod_hdcp_read_ake_cert()
415 hdcp->auth.msg.hdcp2.ake_cert+1, in mod_hdcp_read_ake_cert()
416 sizeof(hdcp->auth.msg.hdcp2.ake_cert)-1); in mod_hdcp_read_ake_cert()
[all …]
Dhdcp_log.h136 &hdcp->auth.msg.hdcp2.hdcp2version_hdmi, \
137 sizeof(hdcp->auth.msg.hdcp2.hdcp2version_hdmi)); \
138 HDCP_DDC_READ_TRACE(hdcp, "Rx Caps", hdcp->auth.msg.hdcp2.rxcaps_dp, \
139 sizeof(hdcp->auth.msg.hdcp2.rxcaps_dp)); \
140 HDCP_DDC_WRITE_TRACE(hdcp, "AKE Init", hdcp->auth.msg.hdcp2.ake_init, \
141 sizeof(hdcp->auth.msg.hdcp2.ake_init)); \
142 HDCP_DDC_READ_TRACE(hdcp, "AKE Cert", hdcp->auth.msg.hdcp2.ake_cert, \
143 sizeof(hdcp->auth.msg.hdcp2.ake_cert)); \
145 hdcp->auth.msg.hdcp2.ake_stored_km, \
146 sizeof(hdcp->auth.msg.hdcp2.ake_stored_km)); \
[all …]
Dhdcp2_execution.c35 is_ready = HDCP_2_2_DP_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus_dp) ? 1 : 0; in check_receiver_id_list_ready()
37 is_ready = (HDCP_2_2_HDMI_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus[1]) && in check_receiver_id_list_ready()
38 (HDCP_2_2_HDMI_RXSTATUS_MSG_SZ_HI(hdcp->auth.msg.hdcp2.rxstatus[1]) << 8 | in check_receiver_id_list_ready()
39 hdcp->auth.msg.hdcp2.rxstatus[0])) ? 1 : 0; in check_receiver_id_list_ready()
49 status = (hdcp->auth.msg.hdcp2.rxcaps_dp[0] == HDCP_2_2_RX_CAPS_VERSION_VAL) && in check_hdcp2_capable()
50 HDCP_2_2_DP_HDCP_CAPABLE(hdcp->auth.msg.hdcp2.rxcaps_dp[2]) ? in check_hdcp2_capable()
54 status = (hdcp->auth.msg.hdcp2.hdcp2version_hdmi & HDCP_2_2_HDMI_SUPPORT_MASK) ? in check_hdcp2_capable()
66 ret = HDCP_2_2_DP_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus_dp) ? in check_reauthentication_request()
70 ret = HDCP_2_2_HDMI_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus[1]) ? in check_reauthentication_request()
79 return HDCP_2_2_DP_RXSTATUS_LINK_FAILED(hdcp->auth.msg.hdcp2.rxstatus_dp) ? in check_link_integrity_failure_dp()
[all …]
Dhdcp_psp.c410 if (hdcp->connection.link.adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_0) in mod_hdcp_hdcp2_create_session()
413 else if (hdcp->connection.link.adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_1) in mod_hdcp_hdcp2_create_session()
416 else if (hdcp->connection.link.adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_MAX) in mod_hdcp_hdcp2_create_session()
492 memcpy(&hdcp->auth.msg.hdcp2.ake_init[0], &msg_out->prepare.transmitter_message[0], in mod_hdcp_hdcp2_prepare_ake_init()
493 sizeof(hdcp->auth.msg.hdcp2.ake_init)); in mod_hdcp_hdcp2_prepare_ake_init()
519 memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.ake_cert, in mod_hdcp_hdcp2_validate_ake_cert()
520 sizeof(hdcp->auth.msg.hdcp2.ake_cert)); in mod_hdcp_hdcp2_validate_ake_cert()
532 memcpy(hdcp->auth.msg.hdcp2.ake_no_stored_km, in mod_hdcp_hdcp2_validate_ake_cert()
534 sizeof(hdcp->auth.msg.hdcp2.ake_no_stored_km)); in mod_hdcp_hdcp2_validate_ake_cert()
536 memcpy(hdcp->auth.msg.hdcp2.ake_stored_km, in mod_hdcp_hdcp2_validate_ake_cert()
[all …]
Dhdcp2_transition.c41 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition()
53 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_transition()
91 !adjust->hdcp2.force_no_stored_km) { in mod_hdcp_hdcp2_transition()
104 if (adjust->hdcp2.increase_h_prime_timeout) in mod_hdcp_hdcp2_transition()
180 adjust->hdcp2.force_no_stored_km = 1; in mod_hdcp_hdcp2_transition()
382 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_dp_transition()
394 adjust->hdcp2.disable = 1; in mod_hdcp_hdcp2_dp_transition()
416 !adjust->hdcp2.force_no_stored_km) { in mod_hdcp_hdcp2_dp_transition()
429 if (adjust->hdcp2.increase_h_prime_timeout) in mod_hdcp_hdcp2_dp_transition()
494 adjust->hdcp2.force_no_stored_km = 1; in mod_hdcp_hdcp2_dp_transition()
[all …]
Dhdcp.c85 !hdcp->connection.link.adjust.hdcp2.disable && in is_cp_desired_hdcp2()
113 status = mod_hdcp_hdcp2_execution(hdcp, event_ctx, &input->hdcp2); in execution()
116 event_ctx, &input->hdcp2); in execution()
172 event_ctx, &input->hdcp2, output); in transition()
175 event_ctx, &input->hdcp2, output); in transition()
202 if (hdcp->auth.trans_input.hdcp2.create_session == PASS) { in reset_authentication()
412 if (query->link->adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_0) in mod_hdcp_query_display()
414 else if (query->link->adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_1) in mod_hdcp_query_display()
Dhdcp.h114 struct mod_hdcp_transition_input_hdcp2 hdcp2; member
158 struct mod_hdcp_message_hdcp2 hdcp2; member
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_hdcp.c184 hdcp_w->link.adjust.hdcp2.force_type = MOD_HDCP_FORCE_TYPE_0; in hdcp_update_display()
197 hdcp_w->link.adjust.hdcp2.force_type = MOD_HDCP_FORCE_TYPE_0; in hdcp_update_display()
200 hdcp_w->link.adjust.hdcp2.force_type = MOD_HDCP_FORCE_TYPE_1; in hdcp_update_display()
/drivers/gpu/drm/amd/display/modules/inc/
Dmod_hdcp.h180 struct mod_hdcp_link_adjustment_hdcp2 hdcp2; member