Home
last modified time | relevance | path

Searched refs:dtm_cmd (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_psp.c51 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/
Damdgpu_dm_hdcp.c401 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()
415dtm_cmd->dtm_in_message.topology_assr_enable.display_topology_dig_be_index = link->link_enc_hw_ins… 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()