Home
last modified time | relevance | path

Searched refs:hdcp_context (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_psp.c254 if (!psp->hdcp_context.context.initialized) { in mod_hdcp_hdcp1_create_session()
259 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_create_session()
261 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_create_session()
281 mutex_unlock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_create_session()
293 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_destroy_session()
294 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_destroy_session()
315 mutex_unlock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_destroy_session()
325 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_validate_rx()
326 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_validate_rx()
356 mutex_unlock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_validate_rx()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_hdcp.c82 if (!psp->hdcp_context.context.initialized) { in psp_get_srm()
87 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in psp_get_srm()
108 if (!psp->hdcp_context.context.initialized) { in psp_set_srm()
113 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in psp_set_srm()
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.c1578 return psp_ta_init_shared_buf(psp, &psp->hdcp_context.context.mem_context, in psp_hdcp_init_shared_buf()
1601 psp->hdcp_context.context.mem_context.shared_mc_addr, in psp_hdcp_load()
1607 psp->hdcp_context.context.initialized = true; in psp_hdcp_load()
1608 psp->hdcp_context.context.session_id = cmd->resp.session_id; in psp_hdcp_load()
1609 mutex_init(&psp->hdcp_context.mutex); in psp_hdcp_load()
1632 if (!psp->hdcp_context.context.initialized) { in psp_hdcp_initialize()
1658 psp_prep_ta_unload_cmd_buf(cmd, psp->hdcp_context.context.session_id); in psp_hdcp_unload()
1675 return psp_ta_invoke(psp, ta_cmd_id, psp->hdcp_context.context.session_id); in psp_hdcp_invoke()
1688 if (!psp->hdcp_context.context.initialized) { in psp_hdcp_terminate()
1689 if (psp->hdcp_context.context.mem_context.shared_buf) in psp_hdcp_terminate()
[all …]
Damdgpu_psp.h339 struct ta_cp_context hdcp_context; member