Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/display/modules/hdcp/
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.mutex); in mod_hdcp_hdcp1_validate_rx()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
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.mutex); in psp_hdcp_initialize()
[all …]
Damdgpu_psp.h378 struct ta_cp_context hdcp_context; member
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()
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
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()