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

/openbsd-current/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_crc.c107 flush_work(&dm->secure_display_ctxs[crtc->index].notify_ta_work);
108 flush_work(&dm->secure_display_ctxs[crtc->index].forward_roi_work);
498 secure_display_ctx = &adev->dm.secure_display_ctxs[acrtc->crtc_id];
537 struct secure_display_context *secure_display_ctxs = NULL; local
540 secure_display_ctxs = kcalloc(adev->mode_info.num_crtc,
544 if (!secure_display_ctxs)
548 INIT_WORK(&secure_display_ctxs[i].forward_roi_work, amdgpu_dm_forward_crc_window);
549 INIT_WORK(&secure_display_ctxs[i].notify_ta_work, amdgpu_dm_crtc_notify_ta_to_read);
550 secure_display_ctxs[i].crtc = &adev->mode_info.crtcs[i]->base;
553 return secure_display_ctxs;
[all...]
H A Damdgpu_dm.h511 * @secure_display_ctxs:
516 struct secure_display_context *secure_display_ctxs; member in struct:amdgpu_display_manager
H A Damdgpu_dm.c1854 adev->dm.secure_display_ctxs = amdgpu_dm_crtc_secure_display_create_contexts(adev);
1855 if (!adev->dm.secure_display_ctxs)
1889 if (adev->dm.secure_display_ctxs) {
1891 if (adev->dm.secure_display_ctxs[i].crtc) {
1892 flush_work(&adev->dm.secure_display_ctxs[i].notify_ta_work);
1893 flush_work(&adev->dm.secure_display_ctxs[i].forward_roi_work);
1896 kfree(adev->dm.secure_display_ctxs);
1897 adev->dm.secure_display_ctxs = NULL;

Completed in 196 milliseconds