HomeSort by: relevance | last modified time | path
    Searched defs:qdev (Results 1 - 12 of 12) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/qxl/
qxl_irq.c 40 struct qxl_device *qdev = (struct qxl_device *)dev->dev_private; local in function:qxl_irq_handler
43 pending = xchg(&qdev->ram_header->int_pending, 0);
48 atomic_inc(&qdev->irq_received);
51 atomic_inc(&qdev->irq_received_display);
52 wake_up_all(&qdev->display_event);
53 qxl_queue_garbage_collect(qdev, false);
56 atomic_inc(&qdev->irq_received_cursor);
57 wake_up_all(&qdev->cursor_event);
60 atomic_inc(&qdev->irq_received_io_cmd);
61 wake_up_all(&qdev->io_cmd_event)
81 struct qxl_device *qdev = container_of(work, struct qxl_device, local in function:qxl_client_monitors_config_work_func
    [all...]
qxl_dumb.c 40 struct qxl_device *qdev = dev->dev_private; local in function:qxl_mode_dumb_create
66 r = qxl_gem_object_create_with_handle(qdev, file_priv,
qxl_debugfs.c 47 struct qxl_device *qdev = node->minor->dev->dev_private; local in function:qxl_debugfs_irq_received
49 seq_printf(m, "%d\n", atomic_read(&qdev->irq_received));
50 seq_printf(m, "%d\n", atomic_read(&qdev->irq_received_display));
51 seq_printf(m, "%d\n", atomic_read(&qdev->irq_received_cursor));
52 seq_printf(m, "%d\n", atomic_read(&qdev->irq_received_io_cmd));
53 seq_printf(m, "%d\n", qdev->irq_received_error);
61 struct qxl_device *qdev = node->minor->dev->dev_private; local in function:qxl_debugfs_buffers_info
64 list_for_each_entry(bo, &qdev->gem.objects, list) {
107 int qxl_debugfs_add_files(struct qxl_device *qdev,
113 for (i = 0; i < qdev->debugfs_count; i++)
    [all...]
qxl_gem.c 39 struct qxl_device *qdev; local in function:qxl_gem_object_free
42 qdev = (struct qxl_device *)gobj->dev->dev_private;
44 qxl_surface_evict(qdev, qobj, false);
50 int qxl_gem_object_create(struct qxl_device *qdev, int size,
63 r = qxl_bo_create(qdev, size, kernel, false, initial_domain, surf, &qbo);
73 mutex_lock(&qdev->gem.mutex);
74 list_add_tail(&qbo->list, &qdev->gem.objects);
75 mutex_unlock(&qdev->gem.mutex);
80 int qxl_gem_object_create_with_handle(struct qxl_device *qdev,
94 r = qxl_gem_object_create(qdev, size, 0
    [all...]
qxl_kms.c 42 static bool qxl_check_device(struct qxl_device *qdev)
44 struct qxl_rom *rom = qdev->rom;
59 qdev->vram_size = rom->surface0_area_size;
64 static void setup_hw_slot(struct qxl_device *qdev, struct qxl_memslot *slot)
66 qdev->ram_header->mem_slot.mem_start = slot->start_phys_addr;
67 qdev->ram_header->mem_slot.mem_end = slot->start_phys_addr + slot->size;
68 qxl_io_memslot_add(qdev, qdev->rom->slots_start + slot->index);
71 static void setup_slot(struct qxl_device *qdev,
85 setup_hw_slot(qdev, slot)
109 struct qxl_device *qdev = container_of(work, struct qxl_device, gc_work); local in function:qxl_gc_work
    [all...]
qxl_drv.c 79 struct qxl_device *qdev; local in function:qxl_pci_probe
88 qdev = kzalloc(sizeof(struct qxl_device), GFP_KERNEL);
89 if (!qdev)
108 ret = qxl_device_init(qdev, &qxl_driver, pdev);
112 ret = qxl_modeset_init(qdev);
116 drm_kms_helper_poll_init(&qdev->ddev);
119 ret = drm_dev_register(&qdev->ddev, ent->driver_data);
123 drm_fbdev_generic_setup(&qdev->ddev, 32);
127 qxl_modeset_fini(qdev);
129 qxl_device_fini(qdev);
144 struct qxl_device *qdev = dev->dev_private; local in function:qxl_pci_remove
163 struct qxl_device *qdev = dev->dev_private; local in function:qxl_drm_freeze
185 struct qxl_device *qdev = dev->dev_private; local in function:qxl_drm_resume
244 struct qxl_device *qdev = drm_dev->dev_private; local in function:qxl_pm_restore
    [all...]
qxl_object.c 38 struct qxl_device *qdev; local in function:qxl_ttm_bo_destroy
41 qdev = (struct qxl_device *)bo->tbo.base.dev->dev_private;
43 qxl_surface_evict(qdev, bo, false);
45 mutex_lock(&qdev->gem.mutex);
47 mutex_unlock(&qdev->gem.mutex);
103 int qxl_bo_create(struct qxl_device *qdev,
121 r = drm_gem_object_init(&qdev->ddev, &bo->tbo.base, size);
137 r = ttm_bo_init(&qdev->mman.bdev, &bo->tbo, size, type,
142 dev_err(qdev->ddev.dev,
172 void *qxl_bo_kmap_atomic_page(struct qxl_device *qdev,
    [all...]
qxl_ioctl.c 44 struct qxl_device *qdev = dev->dev_private; local in function:qxl_alloc_ioctl
55 ret = qxl_gem_object_create_with_handle(qdev, file_priv,
72 struct qxl_device *qdev = dev->dev_private; local in function:qxl_map_ioctl
75 return qxl_mode_dumb_mmap(file_priv, &qdev->ddev, qxl_map->handle,
93 apply_reloc(struct qxl_device *qdev, struct qxl_reloc_info *info)
97 reloc_page = qxl_bo_kmap_atomic_page(qdev, info->dst_bo, info->dst_offset & PAGE_MASK);
98 *(uint64_t *)(reloc_page + (info->dst_offset & ~PAGE_MASK)) = qxl_bo_physical_address(qdev,
101 qxl_bo_kunmap_atomic_page(qdev, info->dst_bo, reloc_page);
105 apply_surf_reloc(struct qxl_device *qdev, struct qxl_reloc_info *info)
113 reloc_page = qxl_bo_kmap_atomic_page(qdev, info->dst_bo, info->dst_offset & PAGE_MASK)
287 struct qxl_device *qdev = dev->dev_private; local in function:qxl_execbuffer_ioctl
312 struct qxl_device *qdev = dev->dev_private; local in function:qxl_update_area_ioctl
362 struct qxl_device *qdev = dev->dev_private; local in function:qxl_getparam_ioctl
381 struct qxl_device *qdev = dev->dev_private; local in function:qxl_clientcap_ioctl
402 struct qxl_device *qdev = dev->dev_private; local in function:qxl_alloc_surf_ioctl
    [all...]
qxl_release.c 65 struct qxl_device *qdev; local in function:qxl_fence_wait
71 qdev = container_of(fence->lock, struct qxl_device, release_lock);
81 qxl_io_notify_oom(qdev);
84 if (!qxl_queue_garbage_collect(qdev, true))
129 qxl_release_alloc(struct qxl_device *qdev, int type,
148 spin_lock(&qdev->release_idr_lock);
149 handle = idr_alloc(&qdev->release_idr, release, 1, 0, GFP_NOWAIT);
150 release->base.seqno = ++qdev->release_seqno;
151 spin_unlock(&qdev->release_idr_lock);
182 qxl_release_free(struct qxl_device *qdev,
439 struct qxl_device *qdev; local in function:qxl_release_fence_buffer_objects
    [all...]
qxl_ttm.c 49 struct qxl_device *qdev; local in function:qxl_get_qdev
52 qdev = container_of(mman, struct qxl_device, mman);
53 return qdev;
64 struct qxl_device *qdev = qxl_get_qdev(bdev); local in function:qxl_init_mem_type
66 64 - (qdev->rom->slot_gen_bits + qdev->rom->slot_id_bits + 8);
80 &qdev->main_slot : &qdev->surfaces_slot;
122 struct qxl_device *qdev = qxl_get_qdev(bdev); local in function:qxl_ttm_io_mem_reserve
137 mem->bus.base = qdev->vram_base
161 struct qxl_device *qdev; member in struct:qxl_ttm_tt
202 struct qxl_device *qdev; local in function:qxl_ttm_tt_create
251 struct qxl_device *qdev; local in function:qxl_bo_move_notify
    [all...]
qxl_display.c 49 static int qxl_alloc_client_monitors_config(struct qxl_device *qdev,
52 if (qdev->client_monitors_config &&
53 count > qdev->client_monitors_config->count) {
54 kfree(qdev->client_monitors_config);
55 qdev->client_monitors_config = NULL;
57 if (!qdev->client_monitors_config) {
58 qdev->client_monitors_config = kzalloc(
59 struct_size(qdev->client_monitors_config,
61 if (!qdev->client_monitors_config)
64 qdev->client_monitors_config->count = count
229 struct qxl_device *qdev = dev->dev_private; local in function:qxl_add_mode
250 struct qxl_device *qdev = dev->dev_private; local in function:qxl_add_monitors_config_modes
318 struct qxl_device *qdev = dev->dev_private; local in function:qxl_crtc_update_monitors_config
421 struct qxl_device *qdev = fb->dev->dev_private; local in function:qxl_framebuffer_surface_dirty
483 struct qxl_device *qdev = plane->dev->dev_private; local in function:qxl_primary_atomic_check
497 struct qxl_device *qdev = dev->dev_private; local in function:qxl_primary_apply_cursor
544 struct qxl_device *qdev = plane->dev->dev_private; local in function:qxl_primary_atomic_update
575 struct qxl_device *qdev = plane->dev->dev_private; local in function:qxl_primary_atomic_disable
591 struct qxl_device *qdev = dev->dev_private; local in function:qxl_cursor_atomic_update
700 struct qxl_device *qdev = plane->dev->dev_private; local in function:qxl_cursor_atomic_disable
783 struct qxl_device *qdev = plane->dev->dev_private; local in function:qxl_plane_prepare_fb
944 struct qxl_device *qdev = dev->dev_private; local in function:qdev_crtc_init
986 struct qxl_device *qdev = dev->dev_private; local in function:qxl_conn_get_modes
1012 struct qxl_device *qdev = ddev->dev_private; local in function:qxl_conn_mode_valid
1045 struct qxl_device *qdev = ddev->dev_private; local in function:qxl_conn_detect
1104 struct qxl_device *qdev = dev->dev_private; local in function:qdev_output_init
    [all...]
qxl_drv.h 174 struct qxl_device *qdev; member in struct:qxl_fb_image
181 struct qxl_device *qdev; member in struct:qxl_draw_fill
284 int qxl_device_init(struct qxl_device *qdev, struct drm_driver *drv,
286 void qxl_device_fini(struct qxl_device *qdev);
288 int qxl_modeset_init(struct qxl_device *qdev);
289 void qxl_modeset_fini(struct qxl_device *qdev);
291 int qxl_bo_init(struct qxl_device *qdev);
292 void qxl_bo_fini(struct qxl_device *qdev);
294 void qxl_reinit_memslots(struct qxl_device *qdev);
295 int qxl_surf_evict(struct qxl_device *qdev);
    [all...]

Completed in 15 milliseconds