Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/ !
Damdgpu_dm_crc.c107 flush_work(&dm->secure_display_ctxs[crtc->index].notify_ta_work); in amdgpu_dm_set_crc_window_default()
108 flush_work(&dm->secure_display_ctxs[crtc->index].forward_roi_work); in amdgpu_dm_set_crc_window_default()
501 secure_display_ctx = &adev->dm.secure_display_ctxs[acrtc->crtc_id]; in amdgpu_dm_crtc_handle_crc_window_irq()
540 struct secure_display_context *secure_display_ctxs = NULL; in amdgpu_dm_crtc_secure_display_create_contexts() local
543 secure_display_ctxs = kcalloc(adev->mode_info.num_crtc, in amdgpu_dm_crtc_secure_display_create_contexts()
547 if (!secure_display_ctxs) in amdgpu_dm_crtc_secure_display_create_contexts()
551 INIT_WORK(&secure_display_ctxs[i].forward_roi_work, amdgpu_dm_forward_crc_window); in amdgpu_dm_crtc_secure_display_create_contexts()
552 INIT_WORK(&secure_display_ctxs[i].notify_ta_work, amdgpu_dm_crtc_notify_ta_to_read); in amdgpu_dm_crtc_secure_display_create_contexts()
553 secure_display_ctxs[i].crtc = &adev->mode_info.crtcs[i]->base; in amdgpu_dm_crtc_secure_display_create_contexts()
556 return secure_display_ctxs; in amdgpu_dm_crtc_secure_display_create_contexts()
Damdgpu_dm.h549 struct secure_display_context *secure_display_ctxs; member
Damdgpu_dm.c2104 adev->dm.secure_display_ctxs = amdgpu_dm_crtc_secure_display_create_contexts(adev); in amdgpu_dm_init()
2105 if (!adev->dm.secure_display_ctxs) in amdgpu_dm_init()
2149 if (adev->dm.secure_display_ctxs) { in amdgpu_dm_fini()
2151 if (adev->dm.secure_display_ctxs[i].crtc) { in amdgpu_dm_fini()
2152 flush_work(&adev->dm.secure_display_ctxs[i].notify_ta_work); in amdgpu_dm_fini()
2153 flush_work(&adev->dm.secure_display_ctxs[i].forward_roi_work); in amdgpu_dm_fini()
2156 kfree(adev->dm.secure_display_ctxs); in amdgpu_dm_fini()
2157 adev->dm.secure_display_ctxs = NULL; in amdgpu_dm_fini()