Searched refs:dtm_context (Results 1 – 6 of 6) sorted by relevance
57 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 …]
291 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 …]
137 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()
390 struct ta_cp_context dtm_context; member
300 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()
474 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()