Searched refs:dtm_cmd (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp_psp.c | 52 struct ta_dtm_shared_memory *dtm_cmd; in remove_display_from_topology_v2() local 57 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in remove_display_from_topology_v2() 64 memset(dtm_cmd, 0, sizeof(struct ta_dtm_shared_memory)); in remove_display_from_topology_v2() 66 dtm_cmd->cmd_id = TA_DTM_COMMAND__TOPOLOGY_UPDATE_V2; in remove_display_from_topology_v2() 67 dtm_cmd->dtm_in_message.topology_update_v2.display_handle = display->index; in remove_display_from_topology_v2() 68 dtm_cmd->dtm_in_message.topology_update_v2.is_active = 0; in remove_display_from_topology_v2() 69 dtm_cmd->dtm_status = TA_DTM_STATUS__GENERIC_FAILURE; in remove_display_from_topology_v2() 71 psp_dtm_invoke(psp, dtm_cmd->cmd_id); in remove_display_from_topology_v2() 73 if (dtm_cmd->dtm_status != TA_DTM_STATUS__SUCCESS) { in remove_display_from_topology_v2() 88 struct ta_dtm_shared_memory *dtm_cmd; in remove_display_from_topology_v3() local 126 struct ta_dtm_shared_memory *dtm_cmd; add_display_to_topology_v2() local 173 struct ta_dtm_shared_memory *dtm_cmd; add_display_to_topology_v3() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp_psp.c | 51 struct ta_dtm_shared_memory *dtm_cmd; in mod_hdcp_remove_display_from_topology() local 56 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.dtm_shared_buf; in mod_hdcp_remove_display_from_topology() 63 memset(dtm_cmd, 0, sizeof(struct ta_dtm_shared_memory)); in mod_hdcp_remove_display_from_topology() 65 dtm_cmd->cmd_id = TA_DTM_COMMAND__TOPOLOGY_UPDATE_V2; in mod_hdcp_remove_display_from_topology() 66 dtm_cmd->dtm_in_message.topology_update_v2.display_handle = display->index; in mod_hdcp_remove_display_from_topology() 67 dtm_cmd->dtm_in_message.topology_update_v2.is_active = 0; in mod_hdcp_remove_display_from_topology() 68 dtm_cmd->dtm_status = TA_DTM_STATUS__GENERIC_FAILURE; in mod_hdcp_remove_display_from_topology() 70 psp_dtm_invoke(psp, dtm_cmd->cmd_id); in mod_hdcp_remove_display_from_topology() 72 if (dtm_cmd->dtm_status != TA_DTM_STATUS__SUCCESS) { in mod_hdcp_remove_display_from_topology() 86 struct ta_dtm_shared_memory *dtm_cmd; in mod_hdcp_add_display_to_topology() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_hdcp.c | 401 struct ta_dtm_shared_memory *dtm_cmd; in enable_assr() local 409 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.dtm_shared_buf; in enable_assr() 412 memset(dtm_cmd, 0, sizeof(struct ta_dtm_shared_memory)); in enable_assr() 414 dtm_cmd->cmd_id = TA_DTM_COMMAND__TOPOLOGY_ASSR_ENABLE; in enable_assr() 415 dtm_cmd->dtm_in_message.topology_assr_enable.display_topology_dig_be_index = link->link_enc_hw_inst; in enable_assr() 416 dtm_cmd->dtm_status = TA_DTM_STATUS__GENERIC_FAILURE; in enable_assr() 418 psp_dtm_invoke(psp, dtm_cmd->cmd_id); in enable_assr() 420 if (dtm_cmd->dtm_status != TA_DTM_STATUS__SUCCESS) { in enable_assr()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_hdcp.c | 471 struct ta_dtm_shared_memory *dtm_cmd; in enable_assr() local 479 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in enable_assr() 482 memset(dtm_cmd, 0, sizeof(struct ta_dtm_shared_memory)); in enable_assr() 484 dtm_cmd->cmd_id = TA_DTM_COMMAND__TOPOLOGY_ASSR_ENABLE; in enable_assr() 485 dtm_cmd->dtm_in_message.topology_assr_enable.display_topology_dig_be_index = in enable_assr() 487 dtm_cmd->dtm_status = TA_DTM_STATUS__GENERIC_FAILURE; in enable_assr() 489 psp_dtm_invoke(psp, dtm_cmd->cmd_id); in enable_assr() 491 if (dtm_cmd->dtm_status != TA_DTM_STATUS__SUCCESS) { in enable_assr()
|
Completed in 5 milliseconds