Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.c288 psp_ta_free_shared_buf(&psp->hdcp_context.context.mem_context); in psp_free_shared_bufs()
1910 if (!psp->hdcp_context.context.bin_desc.size_bytes || in psp_hdcp_initialize()
1911 !psp->hdcp_context.context.bin_desc.start_addr) { in psp_hdcp_initialize()
1916 psp->hdcp_context.context.mem_context.shared_mem_size = PSP_HDCP_SHARED_MEM_SIZE; in psp_hdcp_initialize()
1917 psp->hdcp_context.context.ta_load_type = GFX_CMD_ID_LOAD_TA; in psp_hdcp_initialize()
1919 if (!psp->hdcp_context.context.mem_context.shared_buf) { in psp_hdcp_initialize()
1920 ret = psp_ta_init_shared_buf(psp, &psp->hdcp_context.context.mem_context); in psp_hdcp_initialize()
1925 ret = psp_ta_load(psp, &psp->hdcp_context.context); in psp_hdcp_initialize()
1927 psp->hdcp_context.context.initialized = true; in psp_hdcp_initialize()
1928 mutex_init(&psp->hdcp_context.mutex); in psp_hdcp_initialize()
[all …]
Damdgpu_dev_coredump.c134 adev->psp.hdcp_context.context.bin_desc.feature_version, in amdgpu_devcoredump_fw_info()
135 adev->psp.hdcp_context.context.bin_desc.fw_version); in amdgpu_devcoredump_fw_info()
Damdgpu_psp.h389 struct ta_cp_context hdcp_context; member
Damdgpu_kms.c295 fw_info->ver = adev->psp.hdcp_context.context.bin_desc.fw_version; in amdgpu_firmware_info()
296 fw_info->feature = adev->psp.hdcp_context.context in amdgpu_firmware_info()
/linux-6.12.1/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()