Home
last modified time | relevance | path

Searched refs:securedisplay_context (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_securedisplay.c83 *cmd = (struct ta_securedisplay_cmd *)psp->securedisplay_context.context.mem_context.shared_buf; in psp_prep_securedisplay_cmd_buf()
124 mutex_lock(&psp->securedisplay_context.mutex); in amdgpu_securedisplay_debugfs_write()
135 mutex_unlock(&psp->securedisplay_context.mutex); in amdgpu_securedisplay_debugfs_write()
142 mutex_lock(&psp->securedisplay_context.mutex); in amdgpu_securedisplay_debugfs_write()
156 mutex_unlock(&psp->securedisplay_context.mutex); in amdgpu_securedisplay_debugfs_write()
181 if (!adev->psp.securedisplay_context.context.initialized) in amdgpu_securedisplay_debugfs_init()
Dpsp_v10_0.c63 (psp->securedisplay_context.context.bin_desc.fw_version >= in psp_v10_0_init_microcode()
65 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v10_0_init_microcode()
Damdgpu_psp.c297 psp_ta_free_shared_buf(&psp->securedisplay_context.context.mem_context); in psp_free_shared_bufs()
2157 if (!psp->securedisplay_context.context.bin_desc.size_bytes || in psp_securedisplay_initialize()
2158 !psp->securedisplay_context.context.bin_desc.start_addr) { in psp_securedisplay_initialize()
2163 psp->securedisplay_context.context.mem_context.shared_mem_size = in psp_securedisplay_initialize()
2165 psp->securedisplay_context.context.ta_load_type = GFX_CMD_ID_LOAD_TA; in psp_securedisplay_initialize()
2167 if (!psp->securedisplay_context.context.initialized) { in psp_securedisplay_initialize()
2169 &psp->securedisplay_context.context.mem_context); in psp_securedisplay_initialize()
2174 ret = psp_ta_load(psp, &psp->securedisplay_context.context); in psp_securedisplay_initialize()
2176 psp->securedisplay_context.context.initialized = true; in psp_securedisplay_initialize()
2177 mutex_init(&psp->securedisplay_context.mutex); in psp_securedisplay_initialize()
[all …]
Damdgpu_dev_coredump.c144 adev->psp.securedisplay_context.context.bin_desc.feature_version, in amdgpu_devcoredump_fw_info()
145 adev->psp.securedisplay_context.context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
Dpsp_v11_0.c108 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v11_0_init_microcode()
120 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v11_0_init_microcode()
Dpsp_v12_0.c67 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v12_0_init_microcode()
Damdgpu_psp.h392 struct ta_cp_context securedisplay_context; member
Damdgpu_kms.c310 fw_info->ver = adev->psp.securedisplay_context.context.bin_desc.fw_version; in amdgpu_firmware_info()
312 adev->psp.securedisplay_context.context.bin_desc in amdgpu_firmware_info()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crc.c131 if (!psp->securedisplay_context.context.initialized) { in amdgpu_dm_crtc_notify_ta_to_read()
140 mutex_lock(&psp->securedisplay_context.mutex); in amdgpu_dm_crtc_notify_ta_to_read()
157 mutex_unlock(&psp->securedisplay_context.mutex); in amdgpu_dm_crtc_notify_ta_to_read()