Home
last modified time | relevance | path

Searched refs:secure_display_ctxs (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_crc.c227 if (adev->dm.secure_display_ctxs[i].crtc == crtc) { in amdgpu_dm_crtc_configure_crc_source()
229 flush_work(&adev->dm.secure_display_ctxs[i].notify_ta_work); in amdgpu_dm_crtc_configure_crc_source()
230 flush_work(&adev->dm.secure_display_ctxs[i].forward_roi_work); in amdgpu_dm_crtc_configure_crc_source()
505 secure_display_ctx = &adev->dm.secure_display_ctxs[acrtc->crtc_id]; in amdgpu_dm_crtc_handle_crc_window_irq()
544 struct secure_display_context *secure_display_ctxs = NULL; in amdgpu_dm_crtc_secure_display_create_contexts() local
547 secure_display_ctxs = kcalloc(adev->mode_info.num_crtc, in amdgpu_dm_crtc_secure_display_create_contexts()
551 if (!secure_display_ctxs) in amdgpu_dm_crtc_secure_display_create_contexts()
555 INIT_WORK(&secure_display_ctxs[i].forward_roi_work, amdgpu_dm_forward_crc_window); in amdgpu_dm_crtc_secure_display_create_contexts()
556 INIT_WORK(&secure_display_ctxs[i].notify_ta_work, amdgpu_dm_crtc_notify_ta_to_read); in amdgpu_dm_crtc_secure_display_create_contexts()
557 secure_display_ctxs[i].crtc = &adev->mode_info.crtcs[i]->base; in amdgpu_dm_crtc_secure_display_create_contexts()
[all …]
A Damdgpu_dm.h504 struct secure_display_context *secure_display_ctxs; member
A Damdgpu_dm.c1742 adev->dm.secure_display_ctxs = amdgpu_dm_crtc_secure_display_create_contexts(adev); in amdgpu_dm_init()
1743 if (!adev->dm.secure_display_ctxs) { in amdgpu_dm_init()
1836 if (adev->dm.secure_display_ctxs) { in amdgpu_dm_fini()
1838 if (adev->dm.secure_display_ctxs[i].crtc) { in amdgpu_dm_fini()
1839 flush_work(&adev->dm.secure_display_ctxs[i].notify_ta_work); in amdgpu_dm_fini()
1840 flush_work(&adev->dm.secure_display_ctxs[i].forward_roi_work); in amdgpu_dm_fini()
1843 kfree(adev->dm.secure_display_ctxs); in amdgpu_dm_fini()
1844 adev->dm.secure_display_ctxs = NULL; in amdgpu_dm_fini()

Completed in 24 milliseconds