Home
last modified time | relevance | path

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

/openbmc/linux/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.mutex); in mod_hdcp_hdcp1_validate_rx()
[all …]
/openbmc/linux/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()
1762 if (!psp->hdcp_context.context.bin_desc.size_bytes || in psp_hdcp_initialize()
1763 !psp->hdcp_context.context.bin_desc.start_addr) { in psp_hdcp_initialize()
1768 psp->hdcp_context.context.mem_context.shared_mem_size = PSP_HDCP_SHARED_MEM_SIZE; in psp_hdcp_initialize()
1769 psp->hdcp_context.context.ta_load_type = GFX_CMD_ID_LOAD_TA; in psp_hdcp_initialize()
1771 if (!psp->hdcp_context.context.mem_context.shared_buf) { in psp_hdcp_initialize()
1772 ret = psp_ta_init_shared_buf(psp, &psp->hdcp_context.context.mem_context); in psp_hdcp_initialize()
1777 ret = psp_ta_load(psp, &psp->hdcp_context.context); in psp_hdcp_initialize()
1779 psp->hdcp_context.context.initialized = true; in psp_hdcp_initialize()
1780 mutex_init(&psp->hdcp_context.mutex); in psp_hdcp_initialize()
[all …]
H A Damdgpu_psp.h378 struct ta_cp_context hdcp_context; member
H A Damdgpu_kms.c288 fw_info->ver = adev->psp.hdcp_context.context.bin_desc.fw_version; in amdgpu_firmware_info()
289 fw_info->feature = adev->psp.hdcp_context.context in amdgpu_firmware_info()
/openbmc/linux/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()