Searched refs:vgfb (Results 1 – 4 of 4) sorted by relevance
/drivers/gpu/drm/virtio/ |
D | virtgpu_fb.c | 34 struct virtio_gpu_framebuffer vgfb; member 120 int virtio_gpu_surface_dirty(struct virtio_gpu_framebuffer *vgfb, in virtio_gpu_surface_dirty() argument 124 struct virtio_gpu_device *vgdev = vgfb->base.dev->dev_private; in virtio_gpu_surface_dirty() 125 struct virtio_gpu_object *obj = gem_to_virtio_gpu_obj(vgfb->obj); in virtio_gpu_surface_dirty() 135 norect.x2 = vgfb->base.width; in virtio_gpu_surface_dirty() 136 norect.y2 = vgfb->base.height; in virtio_gpu_surface_dirty() 153 return virtio_gpu_dirty_update(vgfb, false, left, top, in virtio_gpu_surface_dirty() 166 struct virtio_gpu_framebuffer *vgfb = &vfbdev->vgfb; in virtio_gpu_fb_dirty_work() local 168 virtio_gpu_dirty_update(&vfbdev->vgfb, false, vgfb->x1, vgfb->y1, in virtio_gpu_fb_dirty_work() 169 vgfb->x2 - vgfb->x1, vgfb->y2 - vgfb->y1); in virtio_gpu_fb_dirty_work() [all …]
|
D | virtgpu_display.c | 137 struct virtio_gpu_framebuffer *vgfb; in virtio_gpu_page_flip() local 143 vgfb = to_virtio_gpu_framebuffer(plane->fb); in virtio_gpu_page_flip() 144 bo = gem_to_virtio_gpu_obj(vgfb->obj); in virtio_gpu_page_flip() 217 struct virtio_gpu_framebuffer *vgfb, in virtio_gpu_framebuffer_init() argument 223 vgfb->obj = obj; in virtio_gpu_framebuffer_init() 227 ret = drm_framebuffer_init(dev, &vgfb->base, &virtio_gpu_fb_funcs); in virtio_gpu_framebuffer_init() 229 vgfb->obj = NULL; in virtio_gpu_framebuffer_init() 232 drm_helper_mode_fill_fb_struct(&vgfb->base, mode_cmd); in virtio_gpu_framebuffer_init() 234 spin_lock_init(&vgfb->dirty_lock); in virtio_gpu_framebuffer_init() 235 vgfb->x1 = vgfb->y1 = INT_MAX; in virtio_gpu_framebuffer_init() [all …]
|
D | virtgpu_plane.c | 67 struct virtio_gpu_framebuffer *vgfb; in virtio_gpu_plane_atomic_update() local 72 vgfb = to_virtio_gpu_framebuffer(plane->state->fb); in virtio_gpu_plane_atomic_update() 73 bo = gem_to_virtio_gpu_obj(vgfb->obj); in virtio_gpu_plane_atomic_update()
|
D | virtgpu_drv.h | 330 struct virtio_gpu_framebuffer *vgfb,
|