Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/amd/display/modules/hdcp/
H A Dhdcp_psp.c265 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_create_session()
297 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_destroy_session()
329 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_validate_rx()
371 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_enable_encryption()
397 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_validate_ksvlist_vp()
440 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_enable_dp_stream_encryption()
475 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp1_link_maintenance()
511 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp2_create_session()
552 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp2_destroy_session()
586 mutex_lock(&psp->hdcp_context.mutex); in mod_hdcp_hdcp2_prepare_ake_init()
[all …]
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_psp.c1759 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()
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 rw_init(&psp->hdcp_context.mutex, "pspcp"); in psp_hdcp_initialize()
1804 if (!psp->hdcp_context.context.initialized) in psp_hdcp_terminate()
1807 ret = psp_ta_unload(psp, &psp->hdcp_context.context); in psp_hdcp_terminate()
1809 psp->hdcp_context.context.initialized = false; in psp_hdcp_terminate()
3356 adev->psp.hdcp_context.context.bin_desc.fw_version = in parse_ta_v1_microcode()
3358 adev->psp.hdcp_context.context.bin_desc.size_bytes = in parse_ta_v1_microcode()
[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()
/openbsd/sys/dev/pci/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()