/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_psp.c | 284 /* free hdcp shared memory */ 1833 /* bypass hdcp initialization if dmu is harvested */ 1839 dev_info(psp->adev->dev, "HDCP: optional hdcp ta ucode is not available\n"); 2948 dev_err(adev->dev, "Failed to terminate hdcp ta\n"); 3508 le32_to_cpu(ta_hdr->hdcp.fw_version); 3510 le32_to_cpu(ta_hdr->hdcp.size_bytes);
|
H A D | amdgpu_ucode.h | 143 struct psp_fw_legacy_bin_desc hdcp; member in struct:ta_firmware_header_v1_0
|
/linux-master/drivers/gpu/drm/amd/display/ |
H A D | Makefile | 43 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/hdcp 50 DAL_LIBS += modules/hdcp
|
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_hdcp.c | 84 DRM_WARN("Failed to get hdcp srm. HDCP TA is not initialized."); 109 DRM_WARN("Failed to get hdcp srm. HDCP TA is not initialized."); 182 /* Explicitly set the saved SRM as sysfs call will be after we already enabled hdcp 186 psp_set_srm(hdcp_work->hdcp.config.psp.handle, hdcp_work->srm, 209 mod_hdcp_update_display(&hdcp_w->hdcp, conn_index, &link_adjust, &display_adjust, &hdcp_w->output); 226 /* the removal of display will invoke auth reset -> hdcp destroy and 239 mod_hdcp_remove_display(&hdcp_w->hdcp, aconnector->base.index, &hdcp_w->output); 252 mod_hdcp_reset_connection(&hdcp_w->hdcp, &hdcp_w->output); 284 mod_hdcp_process_event(&hdcp_work->hdcp, MOD_HDCP_EVENT_CALLBACK, 388 mod_hdcp_query_display(&hdcp_work->hdcp, aconnecto 469 struct mod_hdcp hdcp = hdcp_work->hdcp; local [all...] |
H A D | amdgpu_dm_hdcp.h | 30 #include "hdcp.h" 49 struct mod_hdcp hdcp; member in struct:hdcp_workqueue 57 * hdcp perperties, like type, undesired, desired, enabled, 58 * will be lost. So, save hdcp properties into hdcp_work within 60 * plugged back with same display index, its hdcp properties
|
/linux-master/drivers/gpu/drm/amd/display/dc/ |
H A D | Makefile | 56 DC_LIBS += hdcp
|
/linux-master/drivers/gpu/drm/amd/display/dc/hdcp/ |
H A D | Makefile | 21 # Makefile for the 'hdcp' sub-component of DAL. 26 AMD_DAL_HDCP_MSG = $(addprefix $(AMDDALPATH)/dc/hdcp/,$(HDCP_MSG))
|
/linux-master/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | Makefile | 23 # Makefile for the 'hdcp' sub-module of DAL. 26 HDCP = hdcp_ddc.o hdcp_log.o hdcp_psp.o hdcp.o \ 30 AMD_DAL_HDCP = $(addprefix $(AMDDALPATH)/modules/hdcp/,$(HDCP))
|
H A D | hdcp.c | 26 #include "hdcp.h" 28 static void push_error_status(struct mod_hdcp *hdcp, argument 31 struct mod_hdcp_trace *trace = &hdcp->connection.trace; 35 trace->errors[trace->error_count].state_id = hdcp->state.id; 37 HDCP_ERROR_TRACE(hdcp, status); 40 if (is_hdcp1(hdcp)) { 41 hdcp->connection.hdcp1_retry_count++; 42 if (hdcp->connection.hdcp1_retry_count == MAX_NUM_OF_ATTEMPTS) 43 hdcp->connection.link.adjust.hdcp1.disable = 1; 44 } else if (is_hdcp2(hdcp)) { 51 is_cp_desired_hdcp1(struct mod_hdcp *hdcp) argument 71 is_cp_desired_hdcp2(struct mod_hdcp *hdcp) argument 91 execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, union mod_hdcp_transition_input *input) argument 127 transition(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, union mod_hdcp_transition_input *input, struct mod_hdcp_output *output) argument 188 reset_authentication(struct mod_hdcp *hdcp, struct mod_hdcp_output *output) argument 234 reset_connection(struct mod_hdcp *hdcp, struct mod_hdcp_output *output) argument 254 update_display_adjustments(struct mod_hdcp *hdcp, struct mod_hdcp_display *display, struct mod_hdcp_display_adjustment *adj) argument 289 mod_hdcp_setup(struct mod_hdcp *hdcp, struct mod_hdcp_config *config) argument 304 mod_hdcp_teardown(struct mod_hdcp *hdcp) argument 319 mod_hdcp_add_display(struct mod_hdcp *hdcp, struct mod_hdcp_link *link, struct mod_hdcp_display *display, struct mod_hdcp_output *output) argument 378 mod_hdcp_remove_display(struct mod_hdcp *hdcp, uint8_t index, struct mod_hdcp_output *output) argument 421 mod_hdcp_update_display(struct mod_hdcp *hdcp, uint8_t index, struct mod_hdcp_link_adjustment *link_adjust, struct mod_hdcp_display_adjustment *display_adjust, struct mod_hdcp_output *output) argument 484 mod_hdcp_query_display(struct mod_hdcp *hdcp, uint8_t index, struct mod_hdcp_display_query *query) argument 522 mod_hdcp_reset_connection(struct mod_hdcp *hdcp, struct mod_hdcp_output *output) argument 535 mod_hdcp_process_event(struct mod_hdcp *hdcp, enum mod_hdcp_event event, struct mod_hdcp_output *output) argument [all...] |
H A D | hdcp.h | 289 typedef enum mod_hdcp_status (*mod_hdcp_action)(struct mod_hdcp *hdcp); 292 enum mod_hdcp_status *status, struct mod_hdcp *hdcp, char *str); 293 enum mod_hdcp_status mod_hdcp_hdcp1_execution(struct mod_hdcp *hdcp, 296 enum mod_hdcp_status mod_hdcp_hdcp1_dp_execution(struct mod_hdcp *hdcp, 299 enum mod_hdcp_status mod_hdcp_hdcp1_transition(struct mod_hdcp *hdcp, 303 enum mod_hdcp_status mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp, 309 enum mod_hdcp_status mod_hdcp_hdcp2_execution(struct mod_hdcp *hdcp, 312 enum mod_hdcp_status mod_hdcp_hdcp2_dp_execution(struct mod_hdcp *hdcp, 315 enum mod_hdcp_status mod_hdcp_hdcp2_transition(struct mod_hdcp *hdcp, 319 enum mod_hdcp_status mod_hdcp_hdcp2_dp_transition(struct mod_hdcp *hdcp, 391 is_dp_hdcp(struct mod_hdcp *hdcp) argument 396 is_dp_mst_hdcp(struct mod_hdcp *hdcp) argument 402 is_hdmi_dvi_sl_hdcp(struct mod_hdcp *hdcp) argument 408 current_state(struct mod_hdcp *hdcp) argument 413 set_state_id(struct mod_hdcp *hdcp, struct mod_hdcp_output *output, uint8_t id) argument 424 is_in_hdcp1_states(struct mod_hdcp *hdcp) argument 430 is_in_hdcp1_dp_states(struct mod_hdcp *hdcp) argument 436 is_in_hdcp2_states(struct mod_hdcp *hdcp) argument 442 is_in_hdcp2_dp_states(struct mod_hdcp *hdcp) argument 448 is_in_authenticated_states(struct mod_hdcp *hdcp) argument 456 is_hdcp1(struct mod_hdcp *hdcp) argument 461 is_hdcp2(struct mod_hdcp *hdcp) argument 466 is_in_cp_not_desired_state(struct mod_hdcp *hdcp) argument 471 is_in_initialized_state(struct mod_hdcp *hdcp) argument 477 increment_stay_counter(struct mod_hdcp *hdcp) argument 499 set_watchdog_in_ms(struct mod_hdcp *hdcp, uint16_t time, struct mod_hdcp_output *output) argument 506 set_auth_complete(struct mod_hdcp *hdcp, struct mod_hdcp_output *output) argument 524 get_active_display_count(struct mod_hdcp *hdcp) argument 535 get_first_active_display( struct mod_hdcp *hdcp) argument 549 get_active_display_at_index( struct mod_hdcp *hdcp, uint8_t index) argument 564 get_empty_display_container( struct mod_hdcp *hdcp) argument 578 reset_retry_counts(struct mod_hdcp *hdcp) argument [all...] |
H A D | hdcp1_execution.c | 26 #include "hdcp.h" 28 static inline enum mod_hdcp_status validate_bksv(struct mod_hdcp *hdcp) argument 34 memcpy(bksv, hdcp->auth.msg.hdcp1.bksv, sizeof(hdcp->auth.msg.hdcp1.bksv)); 45 static inline enum mod_hdcp_status check_ksv_ready(struct mod_hdcp *hdcp) argument 47 if (is_dp_hdcp(hdcp)) 48 return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_READY) ? 51 return (hdcp->auth.msg.hdcp1.bcaps & DRM_HDCP_DDC_BCAPS_KSV_FIFO_READY) ? 56 static inline enum mod_hdcp_status check_hdcp_capable_dp(struct mod_hdcp *hdcp) argument 58 return (hdcp 63 check_r0p_available_dp(struct mod_hdcp *hdcp) argument 78 check_link_integrity_dp( struct mod_hdcp *hdcp) argument 87 check_no_reauthentication_request_dp( struct mod_hdcp *hdcp) argument 95 check_no_max_cascade(struct mod_hdcp *hdcp) argument 110 check_no_max_devs(struct mod_hdcp *hdcp) argument 125 get_device_count(struct mod_hdcp *hdcp) argument 132 check_device_count(struct mod_hdcp *hdcp) argument 148 wait_for_active_rx(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument 171 exchange_ksvs(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument 212 computations_validate_rx_test_for_repeater( struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument 255 authenticated(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument 273 wait_for_ready(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument 313 read_ksv_list(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument 377 determine_rx_hdcp_capable_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument 400 wait_for_r0_prime_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument 424 authenticated_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument 451 mod_hdcp_execute_and_set( mod_hdcp_action func, uint8_t *flag, enum mod_hdcp_status *status, struct mod_hdcp *hdcp, char *str) argument 466 mod_hdcp_hdcp1_execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument 500 mod_hdcp_hdcp1_dp_execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input) argument [all...] |
H A D | hdcp1_transition.c | 26 #include "hdcp.h" 28 enum mod_hdcp_status mod_hdcp_hdcp1_transition(struct mod_hdcp *hdcp, argument 34 struct mod_hdcp_connection *conn = &hdcp->connection; 35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; 37 switch (current_state(hdcp)) { 42 increment_stay_counter(hdcp); 46 set_state_id(hdcp, output, H1_A1_EXCHANGE_KSVS); 64 set_state_id(hdcp, output, 87 set_watchdog_in_ms(hdcp, 5000, output); 88 set_state_id(hdcp, outpu 151 mod_hdcp_hdcp1_dp_transition(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp1 *input, struct mod_hdcp_output *output) argument [all...] |
H A D | hdcp2_execution.c | 28 #include "hdcp.h" 30 static inline enum mod_hdcp_status check_receiver_id_list_ready(struct mod_hdcp *hdcp) argument 34 if (is_dp_hdcp(hdcp)) 35 is_ready = HDCP_2_2_DP_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus_dp) ? 1 : 0; 37 is_ready = (HDCP_2_2_HDMI_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus[1]) && 38 (HDCP_2_2_HDMI_RXSTATUS_MSG_SZ_HI(hdcp->auth.msg.hdcp2.rxstatus[1]) << 8 | 39 hdcp->auth.msg.hdcp2.rxstatus[0])) ? 1 : 0; 44 static inline enum mod_hdcp_status check_hdcp2_capable(struct mod_hdcp *hdcp) argument 48 if (is_dp_hdcp(hdcp)) 49 status = (hdcp 60 check_reauthentication_request( struct mod_hdcp *hdcp) argument 76 check_link_integrity_failure_dp( struct mod_hdcp *hdcp) argument 84 check_ake_cert_available(struct mod_hdcp *hdcp) argument 104 check_h_prime_available(struct mod_hdcp *hdcp) argument 128 check_pairing_info_available(struct mod_hdcp *hdcp) argument 152 poll_l_prime_available(struct mod_hdcp *hdcp) argument 181 check_stream_ready_available(struct mod_hdcp *hdcp) argument 202 get_device_count(struct mod_hdcp *hdcp) argument 208 check_device_count(struct mod_hdcp *hdcp) argument 223 process_rxstatus(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input, enum mod_hdcp_status *status) argument 259 known_hdcp2_capable_rx(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 282 send_ake_init(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 309 validate_ake_cert(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 339 send_no_stored_km(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 358 read_h_prime(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 384 read_pairing_info_and_validate_h_prime( struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 414 send_stored_km(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 433 validate_h_prime(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 462 locality_check(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 500 exchange_ks_and_test_for_repeater(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 523 enable_encryption(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 560 authenticated(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 577 wait_for_rx_id_list(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 600 verify_rx_id_list_and_send_ack(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 636 send_stream_management(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 671 validate_stream_ready(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 712 determine_rx_hdcp_capable_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 735 send_content_stream_type_dp(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 757 mod_hdcp_hdcp2_execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument 821 mod_hdcp_hdcp2_dp_execution(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input) argument [all...] |
H A D | hdcp2_transition.c | 26 #include "hdcp.h" 28 enum mod_hdcp_status mod_hdcp_hdcp2_transition(struct mod_hdcp *hdcp, argument 34 struct mod_hdcp_connection *conn = &hdcp->connection; 35 struct mod_hdcp_link_adjustment *adjust = &hdcp->connection.link.adjust; 37 switch (current_state(hdcp)) { 43 set_state_id(hdcp, output, HDCP_INITIALIZED); 46 set_state_id(hdcp, output, H2_A1_SEND_AKE_INIT); 60 set_watchdog_in_ms(hdcp, 100, output); 62 set_state_id(hdcp, output, H2_A1_VALIDATE_AKE_CERT); 78 increment_stay_counter(hdcp); 369 mod_hdcp_hdcp2_dp_transition(struct mod_hdcp *hdcp, struct mod_hdcp_event_context *event_ctx, struct mod_hdcp_transition_input_hdcp2 *input, struct mod_hdcp_output *output) argument [all...] |
H A D | hdcp_ddc.c | 26 #include "hdcp.h" 150 static enum mod_hdcp_status read(struct mod_hdcp *hdcp, argument 159 if (is_dp_hdcp(hdcp)) { 162 success = hdcp->config.ddc.funcs.read_dpcd(hdcp->config.ddc.handle, 174 success = hdcp->config.ddc.funcs.read_i2c( 175 hdcp->config.ddc.handle, 185 static enum mod_hdcp_status read_repeatedly(struct mod_hdcp *hdcp, argument 197 status = read(hdcp, msg_id, buf + data_offset, cur_size); 209 static enum mod_hdcp_status write(struct mod_hdcp *hdcp, argument 246 mod_hdcp_read_bksv(struct mod_hdcp *hdcp) argument 253 mod_hdcp_read_bcaps(struct mod_hdcp *hdcp) argument 260 mod_hdcp_read_bstatus(struct mod_hdcp *hdcp) argument 275 mod_hdcp_read_r0p(struct mod_hdcp *hdcp) argument 283 mod_hdcp_read_ksvlist(struct mod_hdcp *hdcp) argument 299 mod_hdcp_read_vp(struct mod_hdcp *hdcp) argument 329 mod_hdcp_read_binfo(struct mod_hdcp *hdcp) argument 343 mod_hdcp_write_aksv(struct mod_hdcp *hdcp) argument 350 mod_hdcp_write_ainfo(struct mod_hdcp *hdcp) argument 357 mod_hdcp_write_an(struct mod_hdcp *hdcp) argument 364 mod_hdcp_read_hdcp2version(struct mod_hdcp *hdcp) argument 378 mod_hdcp_read_rxcaps(struct mod_hdcp *hdcp) argument 392 mod_hdcp_read_rxstatus(struct mod_hdcp *hdcp) argument 408 mod_hdcp_read_ake_cert(struct mod_hdcp *hdcp) argument 426 mod_hdcp_read_h_prime(struct mod_hdcp *hdcp) argument 444 mod_hdcp_read_pairing_info(struct mod_hdcp *hdcp) argument 462 mod_hdcp_read_l_prime(struct mod_hdcp *hdcp) argument 480 mod_hdcp_read_rx_id_list(struct mod_hdcp *hdcp) argument 511 mod_hdcp_read_stream_ready(struct mod_hdcp *hdcp) argument 529 mod_hdcp_write_ake_init(struct mod_hdcp *hdcp) argument 544 mod_hdcp_write_no_stored_km(struct mod_hdcp *hdcp) argument 559 mod_hdcp_write_stored_km(struct mod_hdcp *hdcp) argument 574 mod_hdcp_write_lc_init(struct mod_hdcp *hdcp) argument 589 mod_hdcp_write_eks(struct mod_hdcp *hdcp) argument 606 mod_hdcp_write_repeater_auth_ack(struct mod_hdcp *hdcp) argument 621 mod_hdcp_write_stream_manage(struct mod_hdcp *hdcp) argument 638 mod_hdcp_write_content_type(struct mod_hdcp *hdcp) argument 651 mod_hdcp_clear_cp_irq_status(struct mod_hdcp *hdcp) argument [all...] |
H A D | hdcp_log.c | 27 #include "hdcp.h" 54 void mod_hdcp_log_ddc_trace(struct mod_hdcp *hdcp) argument 56 if (is_hdcp1(hdcp)) { 57 HDCP_DDC_READ_TRACE(hdcp, "BKSV", hdcp->auth.msg.hdcp1.bksv, 58 sizeof(hdcp->auth.msg.hdcp1.bksv)); 59 HDCP_DDC_READ_TRACE(hdcp, "BCAPS", &hdcp->auth.msg.hdcp1.bcaps, 60 sizeof(hdcp->auth.msg.hdcp1.bcaps)); 61 HDCP_DDC_READ_TRACE(hdcp, "BSTATU [all...] |
H A D | hdcp_log.h | 29 #define HDCP_LOG_ERR(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__) 30 #define HDCP_LOG_VER(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__) 31 #define HDCP_LOG_FSM(hdcp, ...) DRM_DEBUG_KMS(__VA_ARGS__) 32 #define HDCP_LOG_TOP(hdcp, ...) pr_debug("[HDCP_TOP]:"__VA_ARGS__) 33 #define HDCP_LOG_DDC(hdcp, ...) pr_debug("[HDCP_DDC]:"__VA_ARGS__) 36 #define HDCP_ERROR_TRACE(hdcp, status) \ 37 HDCP_LOG_ERR(hdcp, \ 39 hdcp->config.index, \ 41 mod_hdcp_state_id_to_str(hdcp->state.id), \ 42 hdcp [all...] |
H A D | hdcp_psp.c | 29 #include "hdcp.h" 34 static void hdcp2_message_init(struct mod_hdcp *hdcp, argument 37 in->session_handle = hdcp->auth.id; 49 struct mod_hdcp *hdcp, uint8_t index) 51 struct psp_context *psp = hdcp->config.psp.handle; 54 get_active_display_at_index(hdcp, index); 77 HDCP_TOP_REMOVE_DISPLAY_TRACE(hdcp, display->index); 85 struct mod_hdcp *hdcp, uint8_t index) 87 struct psp_context *psp = hdcp->config.psp.handle; 90 get_active_display_at_index(hdcp, inde 48 remove_display_from_topology_v2( struct mod_hdcp *hdcp, uint8_t index) argument 84 remove_display_from_topology_v3( struct mod_hdcp *hdcp, uint8_t index) argument 122 add_display_to_topology_v2( struct mod_hdcp *hdcp, struct mod_hdcp_display *display) argument 169 add_display_to_topology_v3( struct mod_hdcp *hdcp, struct mod_hdcp_display *display) argument 224 mod_hdcp_remove_display_from_topology( struct mod_hdcp *hdcp, uint8_t index) argument 237 mod_hdcp_add_display_to_topology(struct mod_hdcp *hdcp, struct mod_hdcp_display *display) argument 250 mod_hdcp_hdcp1_create_session(struct mod_hdcp *hdcp) argument 289 mod_hdcp_hdcp1_destroy_session(struct mod_hdcp *hdcp) argument 323 mod_hdcp_hdcp1_validate_rx(struct mod_hdcp *hdcp) argument 364 mod_hdcp_hdcp1_enable_encryption(struct mod_hdcp *hdcp) argument 391 mod_hdcp_hdcp1_validate_ksvlist_vp(struct mod_hdcp *hdcp) argument 432 mod_hdcp_hdcp1_enable_dp_stream_encryption(struct mod_hdcp *hdcp) argument 469 mod_hdcp_hdcp1_link_maintenance(struct mod_hdcp *hdcp) argument 495 mod_hdcp_hdcp2_create_session(struct mod_hdcp *hdcp) argument 545 mod_hdcp_hdcp2_destroy_session(struct mod_hdcp *hdcp) argument 578 mod_hdcp_hdcp2_prepare_ake_init(struct mod_hdcp *hdcp) argument 610 mod_hdcp_hdcp2_validate_ake_cert(struct mod_hdcp *hdcp) argument 670 mod_hdcp_hdcp2_validate_h_prime(struct mod_hdcp *hdcp) argument 716 mod_hdcp_hdcp2_prepare_lc_init(struct mod_hdcp *hdcp) argument 749 mod_hdcp_hdcp2_validate_l_prime(struct mod_hdcp *hdcp) argument 784 mod_hdcp_hdcp2_prepare_eks(struct mod_hdcp *hdcp) argument 829 mod_hdcp_hdcp2_enable_encryption(struct mod_hdcp *hdcp) argument 860 mod_hdcp_hdcp2_validate_rx_id_list(struct mod_hdcp *hdcp) argument 913 mod_hdcp_hdcp2_enable_dp_stream_encryption(struct mod_hdcp *hdcp) argument 956 mod_hdcp_hdcp2_prepare_stream_management(struct mod_hdcp *hdcp) argument 993 mod_hdcp_hdcp2_validate_stream_ready(struct mod_hdcp *hdcp) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/modules/inc/ |
H A D | mod_hdcp.h | 215 /* per link events dm has to notify to hdcp module */ 263 /* a query structure for a display's hdcp information */ 282 enum mod_hdcp_status mod_hdcp_setup(struct mod_hdcp *hdcp, 286 enum mod_hdcp_status mod_hdcp_teardown(struct mod_hdcp *hdcp); 289 enum mod_hdcp_status mod_hdcp_add_display(struct mod_hdcp *hdcp, 294 enum mod_hdcp_status mod_hdcp_remove_display(struct mod_hdcp *hdcp, 298 enum mod_hdcp_status mod_hdcp_update_display(struct mod_hdcp *hdcp, 304 /* called to query hdcp information on a specific index */ 305 enum mod_hdcp_status mod_hdcp_query_display(struct mod_hdcp *hdcp, 309 enum mod_hdcp_status mod_hdcp_reset_connection(struct mod_hdcp *hdcp, [all...] |
/linux-master/drivers/gpu/drm/bridge/cadence/ |
H A D | Makefile | 6 cdns-mhdp8546-y := cdns-mhdp8546-core.o cdns-mhdp8546-hdcp.o
|
H A D | cdns-mhdp8546-core.h | 349 struct mutex mutex; /* mutex to protect hdcp.value */ 413 struct cdns_mhdp_hdcp hdcp; member in struct:cdns_mhdp_device
|
H A D | cdns-mhdp8546-hdcp.c | 16 #include "cdns-mhdp8546-hdcp.h" 438 mutex_lock(&mhdp->hdcp.mutex); 439 if (mhdp->hdcp.value == DRM_MODE_CONTENT_PROTECTION_UNDESIRED) 452 mhdp->hdcp.value = DRM_MODE_CONTENT_PROTECTION_DESIRED; 453 schedule_work(&mhdp->hdcp.prop_work); 457 ret = _cdns_mhdp_hdcp_enable(mhdp, mhdp->hdcp.hdcp_content_type); 459 mhdp->hdcp.value = DRM_MODE_CONTENT_PROTECTION_DESIRED; 460 schedule_work(&mhdp->hdcp.prop_work); 463 mutex_unlock(&mhdp->hdcp.mutex); 470 struct cdns_mhdp_hdcp *hdcp local 484 struct cdns_mhdp_hdcp *hdcp = container_of(work, local [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_display.c | 8098 if (connector->hdcp.shim) { 8099 cancel_delayed_work_sync(&connector->hdcp.check_work); 8100 cancel_work_sync(&connector->hdcp.prop_work);
|
H A D | intel_display_core.h | 422 /* Mutex to protect the above hdcp related values. */ 424 } hdcp; member in struct:intel_display
|
H A D | intel_display_debugfs.c | 196 if (!intel_connector->hdcp.shim) {
|