Home
last modified time | relevance | path

Searched refs:dtm_context (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/amd/display/modules/hdcp/
A Dhdcp_psp.c57 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in remove_display_from_topology_v2()
62 mutex_lock(&psp->dtm_context.mutex); in remove_display_from_topology_v2()
80 mutex_unlock(&psp->dtm_context.mutex); in remove_display_from_topology_v2()
98 mutex_lock(&psp->dtm_context.mutex); in remove_display_from_topology_v3()
108 mutex_unlock(&psp->dtm_context.mutex); in remove_display_from_topology_v3()
130 if (!psp->dtm_context.context.initialized) { in add_display_to_topology_v2()
138 mutex_lock(&psp->dtm_context.mutex); in add_display_to_topology_v2()
165 mutex_unlock(&psp->dtm_context.mutex); in add_display_to_topology_v2()
177 if (!psp->dtm_context.context.initialized) { in add_display_to_topology_v3()
185 mutex_lock(&psp->dtm_context.mutex); in add_display_to_topology_v3()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_psp.c1729 if (!psp->dtm_context.context.bin_desc.size_bytes || in psp_dtm_initialize()
1730 !psp->dtm_context.context.bin_desc.start_addr) { in psp_dtm_initialize()
1744 ret = psp_ta_load(psp, &psp->dtm_context.context); in psp_dtm_initialize()
1746 psp->dtm_context.context.initialized = true; in psp_dtm_initialize()
1747 mutex_init(&psp->dtm_context.mutex); in psp_dtm_initialize()
1774 if (!psp->dtm_context.context.initialized) in psp_dtm_terminate()
1777 ret = psp_ta_unload(psp, &psp->dtm_context.context); in psp_dtm_terminate()
1779 psp->dtm_context.context.initialized = false; in psp_dtm_terminate()
3255 adev->psp.dtm_context.context.bin_desc.fw_version = in parse_ta_v1_microcode()
3257 adev->psp.dtm_context.context.bin_desc.size_bytes = in parse_ta_v1_microcode()
[all …]
A Damdgpu_psp.h379 struct ta_cp_context dtm_context; member
A Damdgpu_kms.c292 fw_info->ver = adev->psp.dtm_context.context.bin_desc.fw_version; in amdgpu_firmware_info()
293 fw_info->feature = adev->psp.dtm_context.context in amdgpu_firmware_info()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_hdcp.c491 if (!psp->dtm_context.context.initialized) { in enable_assr()
496 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in enable_assr()
498 mutex_lock(&psp->dtm_context.mutex); in enable_assr()
512 mutex_unlock(&psp->dtm_context.mutex); in enable_assr()

Completed in 19 milliseconds