/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_drv.h | 175 struct qxl_device { struct 256 #define to_qxl(dev) container_of(dev, struct qxl_device, ddev) argument 258 int qxl_device_init(struct qxl_device *qdev, struct pci_dev *pdev); 259 void qxl_device_fini(struct qxl_device *qdev); 261 int qxl_modeset_init(struct qxl_device *qdev); 262 void qxl_modeset_fini(struct qxl_device *qdev); 264 int qxl_bo_init(struct qxl_device *qdev); 265 void qxl_bo_fini(struct qxl_device *qdev); 267 void qxl_reinit_memslots(struct qxl_device *qdev); 268 int qxl_surf_evict(struct qxl_device *qdev); [all …]
|
H A D | qxl_cmd.c | 35 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 …]
|
H A D | qxl_ttm.c | 40 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() 74 struct qxl_device *qdev = qxl_get_qdev(bdev); in qxl_ttm_io_mem_reserve() 125 struct qxl_device *qdev; in qxl_bo_move_notify() 183 static int qxl_ttm_init_mem_type(struct qxl_device *qdev, in qxl_ttm_init_mem_type() 190 int qxl_ttm_init(struct qxl_device *qdev) in qxl_ttm_init() 226 void qxl_ttm_fini(struct qxl_device *qdev) in qxl_ttm_fini() 234 void qxl_ttm_debugfs_init(struct qxl_device *qdev) in qxl_ttm_debugfs_init()
|
H A D | qxl_display.c | 49 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() 254 struct qxl_device *qdev = to_qxl(dev); in qxl_add_monitors_config_modes() 295 static void qxl_send_monitors_config(struct qxl_device *qdev) in qxl_send_monitors_config() 322 struct qxl_device *qdev = to_qxl(dev); in qxl_crtc_update_monitors_config() [all …]
|
H A D | qxl_gem.c | 34 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() 81 int qxl_gem_object_create_with_handle(struct qxl_device *qdev, in qxl_gem_object_create_with_handle() 123 void qxl_gem_init(struct qxl_device *qdev) in qxl_gem_init() 128 void qxl_gem_fini(struct qxl_device *qdev) in qxl_gem_fini()
|
H A D | qxl_release.c | 60 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 …]
|
H A D | qxl_drv.c | 74 struct qxl_device *qdev; in qxl_pci_probe() 84 struct qxl_device, ddev); in qxl_pci_probe() 139 struct qxl_device *qdev = to_qxl(dev); in qxl_drm_release() 172 struct qxl_device *qdev = to_qxl(dev); in qxl_drm_freeze() 194 struct qxl_device *qdev = to_qxl(dev); in qxl_drm_resume() 224 struct qxl_device *qdev = to_qxl(drm_dev); in qxl_pm_resume() 254 struct qxl_device *qdev = to_qxl(drm_dev); in qxl_pm_restore()
|
H A D | qxl_ioctl.c | 38 struct qxl_device *qdev = to_qxl(dev); in qxl_alloc_ioctl() 64 struct qxl_device *qdev = to_qxl(dev); in qxl_map_ioctl() 85 apply_reloc(struct qxl_device *qdev, struct qxl_reloc_info *info) in apply_reloc() 97 apply_surf_reloc(struct qxl_device *qdev, struct qxl_reloc_info *info) in apply_surf_reloc() 139 static int qxl_process_single_command(struct qxl_device *qdev, in qxl_process_single_command() 272 struct qxl_device *qdev = to_qxl(dev); in qxl_execbuffer_ioctl() 296 struct qxl_device *qdev = to_qxl(dev); in qxl_update_area_ioctl() 345 struct qxl_device *qdev = to_qxl(dev); in qxl_getparam_ioctl() 363 struct qxl_device *qdev = to_qxl(dev); in qxl_clientcap_ioctl() 384 struct qxl_device *qdev = to_qxl(dev); in qxl_alloc_surf_ioctl()
|
H A D | qxl_object.c | 35 struct qxl_device *qdev; in qxl_ttm_bo_destroy() 104 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() 358 void qxl_bo_force_delete(struct qxl_device *qdev) in qxl_bo_force_delete() 377 int qxl_bo_init(struct qxl_device *qdev) in qxl_bo_init() 382 void qxl_bo_fini(struct qxl_device *qdev) in qxl_bo_fini() 387 int qxl_bo_check_id(struct qxl_device *qdev, struct qxl_bo *bo) in qxl_bo_check_id() 404 int qxl_surf_evict(struct qxl_device *qdev) in qxl_surf_evict() 412 int qxl_vram_evict(struct qxl_device *qdev) in qxl_vram_evict()
|
H A D | qxl_kms.c | 36 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()
|
H A D | qxl_irq.c | 35 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()
|
H A D | qxl_debugfs.c | 42 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()
|
H A D | qxl_draw.c | 31 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()
|
H A D | qxl_object.h | 56 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);
|
H A D | qxl_image.c | 33 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()
|
H A D | qxl_dumb.c | 35 struct qxl_device *qdev = to_qxl(dev); in qxl_mode_dumb_create()
|