Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/vkms/
Dvkms_plane.c31 struct vkms_plane_state *vkms_state; in vkms_plane_duplicate_state() local
34 vkms_state = kzalloc(sizeof(*vkms_state), GFP_KERNEL); in vkms_plane_duplicate_state()
35 if (!vkms_state) in vkms_plane_duplicate_state()
41 kfree(vkms_state); in vkms_plane_duplicate_state()
45 vkms_state->frame_info = frame_info; in vkms_plane_duplicate_state()
47 __drm_gem_duplicate_shadow_plane_state(plane, &vkms_state->base); in vkms_plane_duplicate_state()
49 return &vkms_state->base.base; in vkms_plane_duplicate_state()
55 struct vkms_plane_state *vkms_state = to_vkms_plane_state(old_state); in vkms_plane_destroy_state() local
56 struct drm_crtc *crtc = vkms_state->base.base.crtc; in vkms_plane_destroy_state()
58 if (crtc && vkms_state->frame_info->fb) { in vkms_plane_destroy_state()
[all …]
Dvkms_crtc.c121 struct vkms_crtc_state *vkms_state; in vkms_atomic_crtc_duplicate_state() local
126 vkms_state = kzalloc(sizeof(*vkms_state), GFP_KERNEL); in vkms_atomic_crtc_duplicate_state()
127 if (!vkms_state) in vkms_atomic_crtc_duplicate_state()
130 __drm_atomic_helper_crtc_duplicate_state(crtc, &vkms_state->base); in vkms_atomic_crtc_duplicate_state()
132 INIT_WORK(&vkms_state->composer_work, vkms_composer_worker); in vkms_atomic_crtc_duplicate_state()
134 return &vkms_state->base; in vkms_atomic_crtc_duplicate_state()
140 struct vkms_crtc_state *vkms_state = to_vkms_crtc_state(state); in vkms_atomic_crtc_destroy_state() local
144 WARN_ON(work_pending(&vkms_state->composer_work)); in vkms_atomic_crtc_destroy_state()
145 kfree(vkms_state->active_planes); in vkms_atomic_crtc_destroy_state()
146 kfree(vkms_state); in vkms_atomic_crtc_destroy_state()
[all …]
Dvkms_drv.c83 struct vkms_crtc_state *vkms_state = in vkms_atomic_commit_tail() local
86 flush_work(&vkms_state->composer_work); in vkms_atomic_commit_tail()