Home
last modified time | relevance | path

Searched refs:qxl_device (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/qxl/
Dqxl_drv.h178 struct qxl_device { struct
259 #define to_qxl(dev) container_of(dev, struct qxl_device, ddev) argument
261 int qxl_debugfs_fence_init(struct qxl_device *rdev);
263 int qxl_device_init(struct qxl_device *qdev, struct pci_dev *pdev);
264 void qxl_device_fini(struct qxl_device *qdev);
266 int qxl_modeset_init(struct qxl_device *qdev);
267 void qxl_modeset_fini(struct qxl_device *qdev);
269 int qxl_bo_init(struct qxl_device *qdev);
270 void qxl_bo_fini(struct qxl_device *qdev);
272 void qxl_reinit_memslots(struct qxl_device *qdev);
[all …]
Dqxl_cmd.c35 static int qxl_reap_surface_id(struct qxl_device *qdev, int max_to_reap);
178 qxl_push_command_ring_release(struct qxl_device *qdev, struct qxl_release *release, in qxl_push_command_ring_release()
190 qxl_push_cursor_ring_release(struct qxl_device *qdev, struct qxl_release *release, in qxl_push_cursor_ring_release()
201 bool qxl_queue_garbage_collect(struct qxl_device *qdev, bool flush) in qxl_queue_garbage_collect()
212 int qxl_garbage_collect(struct qxl_device *qdev) in qxl_garbage_collect()
255 int qxl_alloc_bo_reserved(struct qxl_device *qdev, in qxl_alloc_bo_reserved()
280 static int wait_for_io_cmd_user(struct qxl_device *qdev, uint8_t val, long port, bool intr) in wait_for_io_cmd_user()
315 static void wait_for_io_cmd(struct qxl_device *qdev, uint8_t val, long port) in wait_for_io_cmd()
325 int qxl_io_update_area(struct qxl_device *qdev, struct qxl_bo *surf, in qxl_io_update_area()
354 void qxl_io_notify_oom(struct qxl_device *qdev) in qxl_io_notify_oom()
[all …]
Dqxl_ttm.c40 static struct qxl_device *qxl_get_qdev(struct ttm_device *bdev) in qxl_get_qdev()
43 struct qxl_device *qdev; in qxl_get_qdev()
46 qdev = container_of(mman, struct qxl_device, mman); in qxl_get_qdev()
76 struct qxl_device *qdev = qxl_get_qdev(bdev); in qxl_ttm_io_mem_reserve()
127 struct qxl_device *qdev; in qxl_bo_move_notify()
174 static int qxl_ttm_init_mem_type(struct qxl_device *qdev, in qxl_ttm_init_mem_type()
181 int qxl_ttm_init(struct qxl_device *qdev) in qxl_ttm_init()
217 void qxl_ttm_fini(struct qxl_device *qdev) in qxl_ttm_fini()
225 void qxl_ttm_debugfs_init(struct qxl_device *qdev) in qxl_ttm_debugfs_init()
Dqxl_display.c49 static int qxl_alloc_client_monitors_config(struct qxl_device *qdev, in qxl_alloc_client_monitors_config()
75 static int qxl_display_copy_rom_client_monitors_config(struct qxl_device *qdev) in qxl_display_copy_rom_client_monitors_config()
148 static void qxl_update_offset_props(struct qxl_device *qdev) in qxl_update_offset_props()
167 void qxl_display_read_client_monitors_config(struct qxl_device *qdev) in qxl_display_read_client_monitors_config()
202 static int qxl_check_mode(struct qxl_device *qdev, in qxl_check_mode()
218 static int qxl_check_framebuffer(struct qxl_device *qdev, in qxl_check_framebuffer()
230 struct qxl_device *qdev = to_qxl(dev); in qxl_add_mode()
251 struct qxl_device *qdev = to_qxl(dev); in qxl_add_monitors_config_modes()
292 static void qxl_send_monitors_config(struct qxl_device *qdev) in qxl_send_monitors_config()
319 struct qxl_device *qdev = to_qxl(dev); in qxl_crtc_update_monitors_config()
[all …]
Dqxl_gem.c34 struct qxl_device *qdev; in qxl_gem_object_free()
45 int qxl_gem_object_create(struct qxl_device *qdev, int size, in qxl_gem_object_create()
75 int qxl_gem_object_create_with_handle(struct qxl_device *qdev, in qxl_gem_object_create_with_handle()
114 void qxl_gem_init(struct qxl_device *qdev) in qxl_gem_init()
119 void qxl_gem_fini(struct qxl_device *qdev) in qxl_gem_fini()
Dqxl_release.c60 struct qxl_device *qdev; in qxl_fence_wait()
63 qdev = container_of(fence->lock, struct qxl_device, release_lock); in qxl_fence_wait()
84 qxl_release_alloc(struct qxl_device *qdev, int type, in qxl_release_alloc()
137 qxl_release_free(struct qxl_device *qdev, in qxl_release_free()
162 static int qxl_release_bo_alloc(struct qxl_device *qdev, in qxl_release_bo_alloc()
251 int qxl_alloc_surface_release_reserved(struct qxl_device *qdev, in qxl_alloc_surface_release_reserved()
282 int qxl_alloc_release_reserved(struct qxl_device *qdev, unsigned long size, in qxl_alloc_release_reserved()
364 struct qxl_release *qxl_release_from_id_locked(struct qxl_device *qdev, in qxl_release_from_id_locked()
380 union qxl_release_info *qxl_release_map(struct qxl_device *qdev, in qxl_release_map()
394 void qxl_release_unmap(struct qxl_device *qdev, in qxl_release_unmap()
[all …]
Dqxl_drv.c78 struct qxl_device *qdev; in qxl_pci_probe()
88 struct qxl_device, ddev); in qxl_pci_probe()
143 struct qxl_device *qdev = to_qxl(dev); in qxl_drm_release()
170 struct qxl_device *qdev = to_qxl(dev); in qxl_drm_freeze()
192 struct qxl_device *qdev = to_qxl(dev); in qxl_drm_resume()
222 struct qxl_device *qdev = to_qxl(drm_dev); in qxl_pm_resume()
252 struct qxl_device *qdev = to_qxl(drm_dev); in qxl_pm_restore()
Dqxl_ioctl.c38 struct qxl_device *qdev = to_qxl(dev); in qxl_alloc_ioctl()
65 struct qxl_device *qdev = to_qxl(dev); in qxl_map_ioctl()
86 apply_reloc(struct qxl_device *qdev, struct qxl_reloc_info *info) in apply_reloc()
98 apply_surf_reloc(struct qxl_device *qdev, struct qxl_reloc_info *info) in apply_surf_reloc()
140 static int qxl_process_single_command(struct qxl_device *qdev, in qxl_process_single_command()
275 struct qxl_device *qdev = to_qxl(dev); in qxl_execbuffer_ioctl()
299 struct qxl_device *qdev = to_qxl(dev); in qxl_update_area_ioctl()
348 struct qxl_device *qdev = to_qxl(dev); in qxl_getparam_ioctl()
366 struct qxl_device *qdev = to_qxl(dev); in qxl_clientcap_ioctl()
387 struct qxl_device *qdev = to_qxl(dev); in qxl_alloc_surf_ioctl()
Dqxl_object.c38 struct qxl_device *qdev; in qxl_ttm_bo_destroy()
109 int qxl_bo_create(struct qxl_device *qdev, unsigned long size, in qxl_bo_create()
206 void *qxl_bo_kmap_atomic_page(struct qxl_device *qdev, in qxl_bo_kmap_atomic_page()
266 void qxl_bo_kunmap_atomic_page(struct qxl_device *qdev, in qxl_bo_kunmap_atomic_page()
354 void qxl_bo_force_delete(struct qxl_device *qdev) in qxl_bo_force_delete()
373 int qxl_bo_init(struct qxl_device *qdev) in qxl_bo_init()
378 void qxl_bo_fini(struct qxl_device *qdev) in qxl_bo_fini()
383 int qxl_bo_check_id(struct qxl_device *qdev, struct qxl_bo *bo) in qxl_bo_check_id()
400 int qxl_surf_evict(struct qxl_device *qdev) in qxl_surf_evict()
408 int qxl_vram_evict(struct qxl_device *qdev) in qxl_vram_evict()
Dqxl_irq.c35 struct qxl_device *qdev = to_qxl(dev); in qxl_irq_handler()
76 struct qxl_device *qdev = container_of(work, struct qxl_device, in qxl_client_monitors_config_work_func()
82 int qxl_irq_init(struct qxl_device *qdev) in qxl_irq_init()
Dqxl_kms.c36 static bool qxl_check_device(struct qxl_device *qdev) in qxl_check_device()
58 static void setup_hw_slot(struct qxl_device *qdev, struct qxl_memslot *slot) in setup_hw_slot()
65 static void setup_slot(struct qxl_device *qdev, in setup_slot()
94 void qxl_reinit_memslots(struct qxl_device *qdev) in qxl_reinit_memslots()
102 struct qxl_device *qdev = container_of(work, struct qxl_device, gc_work); in qxl_gc_work()
107 int qxl_device_init(struct qxl_device *qdev, in qxl_device_init()
283 void qxl_device_fini(struct qxl_device *qdev) in qxl_device_fini()
Dqxl_debugfs.c42 struct qxl_device *qdev = to_qxl(node->minor->dev); in qxl_debugfs_irq_received()
56 struct qxl_device *qdev = to_qxl(node->minor->dev); in qxl_debugfs_buffers_info()
90 struct qxl_device *dev = to_qxl(minor->dev); in qxl_debugfs_init()
99 void qxl_debugfs_add_files(struct qxl_device *qdev, in qxl_debugfs_add_files()
Dqxl_object.h56 extern int qxl_bo_create(struct qxl_device *qdev,
66 void *qxl_bo_kmap_atomic_page(struct qxl_device *qdev, struct qxl_bo *bo, int page_offset);
67 void qxl_bo_kunmap_atomic_page(struct qxl_device *qdev, struct qxl_bo *bo, void *map);
Dqxl_draw.c31 static int alloc_clips(struct qxl_device *qdev, in alloc_clips()
44 static struct qxl_rect *drawable_set_clipping(struct qxl_device *qdev, in drawable_set_clipping()
65 alloc_drawable(struct qxl_device *qdev, struct qxl_release **release) in alloc_drawable()
72 free_drawable(struct qxl_device *qdev, struct qxl_release *release) in free_drawable()
79 make_drawable(struct qxl_device *qdev, int surface, uint8_t type, in make_drawable()
126 void qxl_draw_dirty_fb(struct qxl_device *qdev, in qxl_draw_dirty_fb()
Dqxl_image.c33 qxl_allocate_chunk(struct qxl_device *qdev, in qxl_allocate_chunk()
56 qxl_image_alloc_objects(struct qxl_device *qdev, in qxl_image_alloc_objects()
86 void qxl_image_free_objects(struct qxl_device *qdev, struct qxl_drm_image *dimage) in qxl_image_free_objects()
100 qxl_image_init_helper(struct qxl_device *qdev, in qxl_image_init_helper()
230 int qxl_image_init(struct qxl_device *qdev, in qxl_image_init()
Dqxl_dumb.c35 struct qxl_device *qdev = to_qxl(dev); in qxl_mode_dumb_create()