Searched refs:vkms_state (Results 1 – 3 of 3) sorted by relevance
22 struct vkms_plane_state *vkms_state; in vkms_plane_duplicate_state() local25 vkms_state = kzalloc(sizeof(*vkms_state), GFP_KERNEL); in vkms_plane_duplicate_state()26 if (!vkms_state) in vkms_plane_duplicate_state()32 kfree(vkms_state); in vkms_plane_duplicate_state()36 vkms_state->composer = composer; in vkms_plane_duplicate_state()39 &vkms_state->base); in vkms_plane_duplicate_state()41 return &vkms_state->base; in vkms_plane_duplicate_state()47 struct vkms_plane_state *vkms_state = to_vkms_plane_state(old_state); in vkms_plane_destroy_state() local48 struct drm_crtc *crtc = vkms_state->base.crtc; in vkms_plane_destroy_state()54 if (drm_framebuffer_read_refcount(&vkms_state->composer->fb)) in vkms_plane_destroy_state()[all …]
115 struct vkms_crtc_state *vkms_state; in vkms_atomic_crtc_duplicate_state() local120 vkms_state = kzalloc(sizeof(*vkms_state), GFP_KERNEL); in vkms_atomic_crtc_duplicate_state()121 if (!vkms_state) in vkms_atomic_crtc_duplicate_state()124 __drm_atomic_helper_crtc_duplicate_state(crtc, &vkms_state->base); in vkms_atomic_crtc_duplicate_state()126 INIT_WORK(&vkms_state->composer_work, vkms_composer_worker); in vkms_atomic_crtc_duplicate_state()128 return &vkms_state->base; in vkms_atomic_crtc_duplicate_state()134 struct vkms_crtc_state *vkms_state = to_vkms_crtc_state(state); in vkms_atomic_crtc_destroy_state() local138 WARN_ON(work_pending(&vkms_state->composer_work)); in vkms_atomic_crtc_destroy_state()139 kfree(vkms_state->active_planes); in vkms_atomic_crtc_destroy_state()140 kfree(vkms_state); in vkms_atomic_crtc_destroy_state()[all …]
88 struct vkms_crtc_state *vkms_state = in vkms_atomic_commit_tail() local91 flush_work(&vkms_state->composer_work); in vkms_atomic_commit_tail()