Home
last modified time | relevance | path

Searched refs:mem_context (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp_ta.c44 static int prep_ta_mem_context(struct ta_mem_context *mem_context, in prep_ta_mem_context() argument
48 if (mem_context->shared_mem_size < shared_buf_len) in prep_ta_mem_context()
50 memset(mem_context->shared_buf, 0, mem_context->shared_mem_size); in prep_ta_mem_context()
51 memcpy((void *)mem_context->shared_buf, shared_buf, shared_buf_len); in prep_ta_mem_context()
192 if (!context->mem_context.shared_buf) { in ta_if_load_debugfs_write()
193 ret = psp_ta_init_shared_buf(psp, &context->mem_context); in ta_if_load_debugfs_write()
236 if (ret && context->mem_context.shared_buf) in ta_if_load_debugfs_write()
237 psp_ta_free_shared_buf(&context->mem_context); in ta_if_load_debugfs_write()
284 if (context->mem_context.shared_buf) in ta_if_unload_debugfs_write()
285 psp_ta_free_shared_buf(&context->mem_context); in ta_if_unload_debugfs_write()
[all …]
Damdgpu_psp.c259 psp_ta_free_shared_buf(&psp->xgmi_context.context.mem_context); in psp_free_shared_bufs()
262 psp_ta_free_shared_buf(&psp->ras_context.context.mem_context); in psp_free_shared_bufs()
265 psp_ta_free_shared_buf(&psp->hdcp_context.context.mem_context); in psp_free_shared_bufs()
268 psp_ta_free_shared_buf(&psp->dtm_context.context.mem_context); in psp_free_shared_bufs()
271 psp_ta_free_shared_buf(&psp->rap_context.context.mem_context); in psp_free_shared_bufs()
274 psp_ta_free_shared_buf(&psp->securedisplay_context.context.mem_context); in psp_free_shared_bufs()
1043 psp->asd_context.mem_context.shared_mc_addr = 0; in psp_asd_initialize()
1044 psp->asd_context.mem_context.shared_mem_size = PSP_ASD_SHARED_MEM_SIZE; in psp_asd_initialize()
1133 lower_32_bits(context->mem_context.shared_mc_addr); in psp_prep_ta_load_cmd_buf()
1135 upper_32_bits(context->mem_context.shared_mc_addr); in psp_prep_ta_load_cmd_buf()
[all …]
Damdgpu_rap.c79 adev->psp.rap_context.context.mem_context.shared_buf; in amdgpu_rap_debugfs_write()
Damdgpu_securedisplay.c83 *cmd = (struct ta_securedisplay_cmd *)psp->securedisplay_context.context.mem_context.shared_buf; in psp_prep_securedisplay_cmd_buf()
Damdgpu_psp.h177 struct ta_mem_context mem_context; member
/linux-6.6.21/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()
93 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in remove_display_from_topology_v3()
136 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in add_display_to_topology_v2()
183 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in add_display_to_topology_v3()
263 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_create_session()
298 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_destroy_session()
330 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_validate_rx()
372 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_enable_encryption()
398 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_validate_ksvlist_vp()
441 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_enable_dp_stream_encryption()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_hdcp.c88 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in psp_get_srm()
113 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in psp_set_srm()
479 dtm_cmd = (struct ta_dtm_shared_memory *)psp->dtm_context.context.mem_context.shared_buf; in enable_assr()