Home
last modified time | relevance | path

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

/linux-6.6.21/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()
138 mutex_lock(&psp->securedisplay_context.mutex); in amdgpu_securedisplay_debugfs_write()
152 mutex_unlock(&psp->securedisplay_context.mutex); in amdgpu_securedisplay_debugfs_write()
177 if (!adev->psp.securedisplay_context.context.initialized) in amdgpu_securedisplay_debugfs_init()
Dpsp_v10_0.c63 (psp->securedisplay_context.context.bin_desc.fw_version >= 0x27000008)) { in psp_v10_0_init_microcode()
64 adev->psp.securedisplay_context.context.bin_desc.size_bytes = 0; in psp_v10_0_init_microcode()
Damdgpu_psp.c274 psp_ta_free_shared_buf(&psp->securedisplay_context.context.mem_context); in psp_free_shared_bufs()
1992 if (!psp->securedisplay_context.context.bin_desc.size_bytes || in psp_securedisplay_initialize()
1993 !psp->securedisplay_context.context.bin_desc.start_addr) { in psp_securedisplay_initialize()
1998 psp->securedisplay_context.context.mem_context.shared_mem_size = in psp_securedisplay_initialize()
2000 psp->securedisplay_context.context.ta_load_type = GFX_CMD_ID_LOAD_TA; in psp_securedisplay_initialize()
2002 if (!psp->securedisplay_context.context.initialized) { in psp_securedisplay_initialize()
2004 &psp->securedisplay_context.context.mem_context); in psp_securedisplay_initialize()
2009 ret = psp_ta_load(psp, &psp->securedisplay_context.context); in psp_securedisplay_initialize()
2011 psp->securedisplay_context.context.initialized = true; in psp_securedisplay_initialize()
2012 mutex_init(&psp->securedisplay_context.mutex); in psp_securedisplay_initialize()
[all …]
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.h381 struct ta_cp_context securedisplay_context; member
Damdgpu_kms.c302 fw_info->ver = adev->psp.securedisplay_context.context.bin_desc.fw_version; in amdgpu_firmware_info()
304 adev->psp.securedisplay_context.context.bin_desc in amdgpu_firmware_info()
/linux-6.6.21/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()