Home
last modified time | relevance | path

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

/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 …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_psp.c289 psp_ta_free_shared_buf(&psp->hdcp_context.context.mem_context); in psp_free_shared_bufs()
1943 if (!psp->hdcp_context.context.bin_desc.size_bytes || in psp_hdcp_initialize()
1944 !psp->hdcp_context.context.bin_desc.start_addr) { in psp_hdcp_initialize()
1949 psp->hdcp_context.context.mem_context.shared_mem_size = PSP_HDCP_SHARED_MEM_SIZE; in psp_hdcp_initialize()
1950 psp->hdcp_context.context.ta_load_type = GFX_CMD_ID_LOAD_TA; in psp_hdcp_initialize()
1952 if (!psp->hdcp_context.context.mem_context.shared_buf) { in psp_hdcp_initialize()
1953 ret = psp_ta_init_shared_buf(psp, &psp->hdcp_context.context.mem_context); in psp_hdcp_initialize()
1958 ret = psp_ta_load(psp, &psp->hdcp_context.context); in psp_hdcp_initialize()
1960 psp->hdcp_context.context.initialized = true; in psp_hdcp_initialize()
1961 mutex_init(&psp->hdcp_context.mutex); in psp_hdcp_initialize()
[all …]
H A 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()
H A Damdgpu_psp.h393 struct ta_cp_context hdcp_context; member
H A 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()