Searched refs:composer (Results 1 – 3 of 3) sorted by relevance
23 struct vkms_composer *composer; in vkms_plane_duplicate_state() local29 composer = kzalloc(sizeof(*composer), GFP_KERNEL); in vkms_plane_duplicate_state()30 if (!composer) { in vkms_plane_duplicate_state()36 vkms_state->composer = composer; in vkms_plane_duplicate_state()54 if (drm_framebuffer_read_refcount(&vkms_state->composer->fb)) in vkms_plane_destroy_state()55 drm_framebuffer_put(&vkms_state->composer->fb); in vkms_plane_destroy_state()58 kfree(vkms_state->composer); in vkms_plane_destroy_state()59 vkms_state->composer = NULL; in vkms_plane_destroy_state()96 struct vkms_composer *composer; in vkms_plane_atomic_update() local103 composer = vkms_plane_state->composer; in vkms_plane_atomic_update()[all …]
13 const struct vkms_composer *composer) in get_pixel_from_buffer() argument16 int src_offset = composer->offset + (y * composer->pitch) in get_pixel_from_buffer()17 + (x * composer->cpp); in get_pixel_from_buffer()34 const struct vkms_composer *composer) in compute_crc() argument38 int x_src = composer->src.x1 >> 16; in compute_crc()39 int y_src = composer->src.y1 >> 16; in compute_crc()40 int h_src = drm_rect_height(&composer->src) >> 16; in compute_crc()41 int w_src = drm_rect_width(&composer->src) >> 16; in compute_crc()45 pixel = get_pixel_from_buffer(x, y, vaddr, composer); in compute_crc()213 primary_composer = crtc_state->active_planes[0]->composer; in vkms_composer_worker()[all …]
39 struct vkms_composer *composer; member