Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/modules/hdcp/
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()
93 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in remove_display_from_topology_v3()
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()
136 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; 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()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.c291 psp_ta_free_shared_buf(&psp->dtm_context.context.mem_context); in psp_free_shared_bufs()
1984 if (!psp->dtm_context.context.bin_desc.size_bytes || in psp_dtm_initialize()
1985 !psp->dtm_context.context.bin_desc.start_addr) { in psp_dtm_initialize()
1990 psp->dtm_context.context.mem_context.shared_mem_size = PSP_DTM_SHARED_MEM_SIZE; in psp_dtm_initialize()
1991 psp->dtm_context.context.ta_load_type = GFX_CMD_ID_LOAD_TA; in psp_dtm_initialize()
1993 if (!psp->dtm_context.context.mem_context.shared_buf) { in psp_dtm_initialize()
1994 ret = psp_ta_init_shared_buf(psp, &psp->dtm_context.context.mem_context); in psp_dtm_initialize()
1999 ret = psp_ta_load(psp, &psp->dtm_context.context); in psp_dtm_initialize()
2001 psp->dtm_context.context.initialized = true; in psp_dtm_initialize()
2002 mutex_init(&psp->dtm_context.mutex); in psp_dtm_initialize()
[all …]
Damdgpu_dev_coredump.c137 adev->psp.dtm_context.context.bin_desc.feature_version, in amdgpu_devcoredump_fw_info()
138 adev->psp.dtm_context.context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
Damdgpu_psp.h390 struct ta_cp_context dtm_context; member
Damdgpu_kms.c300 fw_info->ver = adev->psp.dtm_context.context.bin_desc.fw_version; in amdgpu_firmware_info()
301 fw_info->feature = adev->psp.dtm_context.context in amdgpu_firmware_info()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_hdcp.c474 if (!psp->dtm_context.context.initialized) { in enable_assr()
479 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in enable_assr()
481 mutex_lock(&psp->dtm_context.mutex); in enable_assr()
496 mutex_unlock(&psp->dtm_context.mutex); in enable_assr()