Home
last modified time | relevance | path

Searched refs:hdcp_context (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_psp.c137 if (!psp->hdcp_context.hdcp_initialized) { in mod_hdcp_hdcp1_create_session()
142 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.hdcp_shared_buf; in mod_hdcp_hdcp1_create_session()
144 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_create_session()
164 mutex_unlock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_create_session()
176 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_destroy_session()
177 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.hdcp_shared_buf; in mod_hdcp_hdcp1_destroy_session()
198 mutex_unlock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_destroy_session()
208 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_validate_rx()
209 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.hdcp_shared_buf; in mod_hdcp_hdcp1_validate_rx()
239 mutex_unlock(&psp->hdcp_context in mod_hdcp_hdcp1_validate_rx()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_psp.c258 if (!psp->hdcp_context.context.initialized) { in mod_hdcp_hdcp1_create_session()
263 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_create_session()
265 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_create_session()
285 mutex_unlock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_create_session()
297 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_destroy_session()
298 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_destroy_session()
319 mutex_unlock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_destroy_session()
329 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_validate_rx()
330 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.context.mem_context.shared_buf; in mod_hdcp_hdcp1_validate_rx()
360 mutex_unlock(&psp->hdcp_context in mod_hdcp_hdcp1_validate_rx()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_psp.c265 psp_ta_free_shared_buf(&psp->hdcp_context.context.mem_context); in psp_free_shared_bufs()
1759 if (!psp->hdcp_context.context.bin_desc.size_bytes || in psp_hdcp_initialize()
1760 !psp->hdcp_context.context.bin_desc.start_addr) { in psp_hdcp_initialize()
1765 psp->hdcp_context.context.mem_context.shared_mem_size = PSP_HDCP_SHARED_MEM_SIZE; in psp_hdcp_initialize()
1766 psp->hdcp_context.context.ta_load_type = GFX_CMD_ID_LOAD_TA; in psp_hdcp_initialize()
1768 if (!psp->hdcp_context.context.mem_context.shared_buf) { in psp_hdcp_initialize()
1769 ret = psp_ta_init_shared_buf(psp, &psp->hdcp_context.context.mem_context); in psp_hdcp_initialize()
1774 ret = psp_ta_load(psp, &psp->hdcp_context.context); in psp_hdcp_initialize()
1776 psp->hdcp_context.context.initialized = true; in psp_hdcp_initialize()
1777 mutex_init(&psp->hdcp_context in psp_hdcp_initialize()
[all...]
H A Damdgpu_psp.h378 struct ta_cp_context hdcp_context; member
H A Damdgpu_kms.c287 fw_info->ver = adev->psp.hdcp_context.context.bin_desc.fw_version; in amdgpu_firmware_info()
288 fw_info->feature = adev->psp.hdcp_context.context in amdgpu_firmware_info()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_psp.c1168 &psp->hdcp_context.hdcp_shared_bo, in psp_hdcp_init_shared_buf()
1169 &psp->hdcp_context.hdcp_shared_mc_addr, in psp_hdcp_init_shared_buf()
1170 &psp->hdcp_context.hdcp_shared_buf); in psp_hdcp_init_shared_buf()
1197 psp->hdcp_context.hdcp_shared_mc_addr, in psp_hdcp_load()
1203 psp->hdcp_context.hdcp_initialized = true; in psp_hdcp_load()
1204 psp->hdcp_context.session_id = cmd->resp.session_id; in psp_hdcp_load()
1205 mutex_init(&psp->hdcp_context.mutex); in psp_hdcp_load()
1228 if (!psp->hdcp_context.hdcp_initialized) { in psp_hdcp_initialize()
1256 psp_prep_ta_unload_cmd_buf(cmd, psp->hdcp_context.session_id); in psp_hdcp_unload()
1273 return psp_ta_invoke(psp, ta_cmd_id, psp->hdcp_context in psp_hdcp_invoke()
[all...]
H A Damdgpu_psp.h299 struct psp_hdcp_context hdcp_context; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_hdcp.c82 if (!psp->hdcp_context.hdcp_initialized) { in psp_get_srm()
87 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.hdcp_shared_buf; in psp_get_srm()
108 if (!psp->hdcp_context.hdcp_initialized) { in psp_set_srm()
113 hdcp_cmd = (struct ta_hdcp_shared_memory *)psp->hdcp_context.hdcp_shared_buf; in psp_set_srm()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_hdcp.c83 if (!psp->hdcp_context.context.initialized) { in psp_get_srm()
88 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()

Completed in 19 milliseconds