Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c130 struct virtio_gpu_framebuffer *vgfb; in virtio_gpu_resource_flush() local
133 vgfb = to_virtio_gpu_framebuffer(plane->state->fb); in virtio_gpu_resource_flush()
134 bo = gem_to_virtio_gpu_obj(vgfb->base.obj[0]); in virtio_gpu_resource_flush()
135 if (vgfb->fence) { in virtio_gpu_resource_flush()
141 virtio_gpu_array_add_obj(objs, vgfb->base.obj[0]); in virtio_gpu_resource_flush()
144 width, height, objs, vgfb->fence); in virtio_gpu_resource_flush()
147 dma_fence_wait_timeout(&vgfb->fence->f, true, in virtio_gpu_resource_flush()
149 dma_fence_put(&vgfb->fence->f); in virtio_gpu_resource_flush()
150 vgfb->fence = NULL; in virtio_gpu_resource_flush()
239 struct virtio_gpu_framebuffer *vgfb; in virtio_gpu_plane_prepare_fb() local
[all …]
Dvirtgpu_display.c68 struct virtio_gpu_framebuffer *vgfb, in virtio_gpu_framebuffer_init() argument
74 vgfb->base.obj[0] = obj; in virtio_gpu_framebuffer_init()
76 drm_helper_mode_fill_fb_struct(dev, &vgfb->base, mode_cmd); in virtio_gpu_framebuffer_init()
78 ret = drm_framebuffer_init(dev, &vgfb->base, &virtio_gpu_fb_funcs); in virtio_gpu_framebuffer_init()
80 vgfb->base.obj[0] = NULL; in virtio_gpu_framebuffer_init()