Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c96 struct virtio_gpu_framebuffer *vgfb; in virtio_gpu_primary_plane_update() local
108 vgfb = to_virtio_gpu_framebuffer(plane->state->fb); in virtio_gpu_primary_plane_update()
109 bo = gem_to_virtio_gpu_obj(vgfb->base.obj[0]); in virtio_gpu_primary_plane_update()
148 struct virtio_gpu_framebuffer *vgfb; in virtio_gpu_cursor_prepare_fb() local
154 vgfb = to_virtio_gpu_framebuffer(new_state->fb); in virtio_gpu_cursor_prepare_fb()
155 bo = gem_to_virtio_gpu_obj(vgfb->base.obj[0]); in virtio_gpu_cursor_prepare_fb()
157 vgfb->fence = virtio_gpu_fence_alloc(vgdev); in virtio_gpu_cursor_prepare_fb()
158 if (!vgfb->fence) in virtio_gpu_cursor_prepare_fb()
168 struct virtio_gpu_framebuffer *vgfb; in virtio_gpu_cursor_cleanup_fb() local
173 vgfb = to_virtio_gpu_framebuffer(plane->state->fb); in virtio_gpu_cursor_cleanup_fb()
[all …]
Dvirtgpu_display.c64 struct virtio_gpu_framebuffer *vgfb, in virtio_gpu_framebuffer_init() argument
70 vgfb->base.obj[0] = obj; in virtio_gpu_framebuffer_init()
72 drm_helper_mode_fill_fb_struct(dev, &vgfb->base, mode_cmd); in virtio_gpu_framebuffer_init()
74 ret = drm_framebuffer_init(dev, &vgfb->base, &virtio_gpu_fb_funcs); in virtio_gpu_framebuffer_init()
76 vgfb->base.obj[0] = NULL; in virtio_gpu_framebuffer_init()
Dvirtgpu_drv.h330 struct virtio_gpu_framebuffer *vgfb,