Home
last modified time | relevance | path

Searched refs:virtio_gpu_device (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_drv.h126 struct virtio_gpu_device;
217 struct virtio_gpu_device { struct
318 int virtio_gpu_alloc_vbufs(struct virtio_gpu_device *vgdev);
319 void virtio_gpu_free_vbufs(struct virtio_gpu_device *vgdev);
349 void virtio_gpu_cursor_ping(struct virtio_gpu_device *vgdev,
368 void virtio_gpu_cmd_submit(struct virtio_gpu_device *vgdev,
402 void virtio_gpu_notify(struct virtio_gpu_device *vgdev);
408 int virtio_gpu_cmd_map(struct virtio_gpu_device *vgdev,
411 void virtio_gpu_cmd_unmap(struct virtio_gpu_device *vgdev,
442 void virtio_gpu_fence_emit(struct virtio_gpu_device *vgdev,
[all …]
H A Dvirtgpu_vq.c59 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_ctrl_ack()
67 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_cursor_ack()
72 int virtio_gpu_alloc_vbufs(struct virtio_gpu_device *vgdev) in virtio_gpu_alloc_vbufs()
90 virtio_gpu_get_vbuf(struct virtio_gpu_device *vgdev, in virtio_gpu_get_vbuf()
124 virtio_gpu_alloc_cursor(struct virtio_gpu_device *vgdev, in virtio_gpu_alloc_cursor()
173 static void free_vbuf(struct virtio_gpu_device *vgdev, in free_vbuf()
198 struct virtio_gpu_device *vgdev = in virtio_gpu_dequeue_ctrl_func()
199 container_of(work, struct virtio_gpu_device, in virtio_gpu_dequeue_ctrl_func()
249 struct virtio_gpu_device *vgdev = in virtio_gpu_dequeue_cursor_func()
250 container_of(work, struct virtio_gpu_device, in virtio_gpu_dequeue_cursor_func()
[all …]
H A Dvirtgpu_kms.c37 struct virtio_gpu_device *vgdev = in virtio_gpu_config_changed_work_func()
38 container_of(work, struct virtio_gpu_device, in virtio_gpu_config_changed_work_func()
67 static void virtio_gpu_get_capsets(struct virtio_gpu_device *vgdev, in virtio_gpu_get_capsets()
124 struct virtio_gpu_device *vgdev; in virtio_gpu_init()
133 vgdev = drmm_kzalloc(dev, sizeof(struct virtio_gpu_device), GFP_KERNEL); in virtio_gpu_init()
271 static void virtio_gpu_cleanup_cap_cache(struct virtio_gpu_device *vgdev) in virtio_gpu_cleanup_cap_cache()
283 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_deinit()
295 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_release()
310 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_driver_open()
338 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_driver_postclose()
H A Dvirtgpu_gem.c37 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_gem_create()
67 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_mode_dumb_create()
120 struct virtio_gpu_device *vgdev = obj->dev->dev_private; in virtio_gpu_gem_object_open()
147 struct virtio_gpu_device *vgdev = obj->dev->dev_private; in virtio_gpu_gem_object_close()
271 void virtio_gpu_array_put_free_delayed(struct virtio_gpu_device *vgdev, in virtio_gpu_array_put_free_delayed()
282 struct virtio_gpu_device *vgdev = in virtio_gpu_array_put_free_work()
283 container_of(work, struct virtio_gpu_device, obj_free_work); in virtio_gpu_array_put_free_work()
H A Dvirtgpu_object.c34 int virtio_gpu_resource_id_get(struct virtio_gpu_device *vgdev, uint32_t *resid) in virtio_gpu_resource_id_get()
57 static void virtio_gpu_resource_id_put(struct virtio_gpu_device *vgdev, uint32_t id) in virtio_gpu_resource_id_put()
66 struct virtio_gpu_device *vgdev = bo->base.base.dev->dev_private; in virtio_gpu_cleanup_object()
89 struct virtio_gpu_device *vgdev = bo->base.base.dev->dev_private; in virtio_gpu_free_object()
135 static int virtio_gpu_object_shmem_init(struct virtio_gpu_device *vgdev, in virtio_gpu_object_shmem_init()
179 int virtio_gpu_object_create(struct virtio_gpu_device *vgdev, in virtio_gpu_object_create()
H A Dvirtgpu_debugfs.c47 struct virtio_gpu_device *vgdev = node->minor->dev->dev_private; in virtio_gpu_features()
72 struct virtio_gpu_device *vgdev = node->minor->dev->dev_private; in virtio_gpu_debugfs_irq_info()
84 struct virtio_gpu_device *vgdev = node->minor->dev->dev_private; in virtio_gpu_debugfs_host_visible_mm()
H A Dvirtgpu_ioctl.c42 static void virtio_gpu_create_context_locked(struct virtio_gpu_device *vgdev, in virtio_gpu_create_context_locked()
57 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_create_context()
73 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_map_ioctl()
84 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_getparam_ioctl()
122 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_resource_create_ioctl()
217 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_transfer_from_host_ioctl()
272 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_transfer_to_host_ioctl()
361 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_get_caps_ioctl()
429 static int verify_blob(struct virtio_gpu_device *vgdev, in verify_blob()
496 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_resource_create_blob_ioctl()
[all …]
H A Dvirtgpu_vram.c9 struct virtio_gpu_device *vgdev = obj->dev->dev_private; in virtio_gpu_vram_free()
36 struct virtio_gpu_device *vgdev = obj->dev->dev_private; in virtio_gpu_vram_mmap()
73 struct virtio_gpu_device *vgdev = bo->base.base.dev->dev_private; in virtio_gpu_vram_map_dma_buf()
146 struct virtio_gpu_device *vgdev = bo->base.base.dev->dev_private; in virtio_gpu_vram_map()
185 int virtio_gpu_vram_create(struct virtio_gpu_device *vgdev, in virtio_gpu_vram_create()
H A Dvirtgpu_prime.c35 struct virtio_gpu_device *vgdev = obj->dev->dev_private; in virtgpu_virtio_get_uuid()
90 int virtio_gpu_resource_assign_uuid(struct virtio_gpu_device *vgdev, in virtio_gpu_resource_assign_uuid()
109 struct virtio_gpu_device *vgdev = dev->dev_private; in virtgpu_gem_prime_export()
H A Dvirtgpu_display.c89 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_crtc_mode_set_nofb()
107 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_crtc_atomic_disable()
254 static int vgdev_output_init(struct virtio_gpu_device *vgdev, int index) in vgdev_output_init()
335 int virtio_gpu_modeset_init(struct virtio_gpu_device *vgdev) in virtio_gpu_modeset_init()
364 void virtio_gpu_modeset_fini(struct virtio_gpu_device *vgdev) in virtio_gpu_modeset_fini()
H A Dvirtgpu_fence.c74 struct virtio_gpu_fence *virtio_gpu_fence_alloc(struct virtio_gpu_device *vgdev, in virtio_gpu_fence_alloc()
101 void virtio_gpu_fence_emit(struct virtio_gpu_device *vgdev, in virtio_gpu_fence_emit()
127 void virtio_gpu_fence_event_process(struct virtio_gpu_device *vgdev, in virtio_gpu_fence_event_process()
H A Dvirtgpu_plane.c111 static void virtio_gpu_update_dumb_bo(struct virtio_gpu_device *vgdev, in virtio_gpu_update_dumb_bo()
139 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_resource_flush()
174 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_primary_plane_update()
248 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_plane_prepare_fb()
291 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_cursor_plane_update()
376 struct drm_plane *virtio_gpu_plane_init(struct virtio_gpu_device *vgdev, in virtio_gpu_plane_init()
H A Dvirtgpu_submit.c39 struct virtio_gpu_device *vgdev;
374 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_init_submit()
476 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_execbuffer_ioctl()
H A Dvirtgpu_drv.c129 struct virtio_gpu_device *vgdev = dev->dev_private; in virtio_gpu_config_changed()