Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_psp.c52 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
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_hdcp.c422 struct ta_dtm_shared_memory *dtm_cmd; in enable_assr() local
430 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in enable_assr()
433 memset(dtm_cmd, 0, sizeof(struct ta_dtm_shared_memory)); in enable_assr()
435 dtm_cmd->cmd_id = TA_DTM_COMMAND__TOPOLOGY_ASSR_ENABLE; in enable_assr()
436dtm_cmd->dtm_in_message.topology_assr_enable.display_topology_dig_be_index = link->link_enc_hw_ins… in enable_assr()
437 dtm_cmd->dtm_status = TA_DTM_STATUS__GENERIC_FAILURE; in enable_assr()
439 psp_dtm_invoke(psp, dtm_cmd->cmd_id); in enable_assr()
441 if (dtm_cmd->dtm_status != TA_DTM_STATUS__SUCCESS) { in enable_assr()