Searched refs:qobj (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/virtio/ |
D | virtgpu_ioctl.c | 62 struct virtio_gpu_object *qobj; in virtio_gpu_object_list_validate() local 71 qobj = container_of(bo, struct virtio_gpu_object, tbo); in virtio_gpu_object_list_validate() 72 ret = ttm_bo_validate(bo, &qobj->placement, &ctx); in virtio_gpu_object_list_validate() 85 struct virtio_gpu_object *qobj; in virtio_gpu_unref_list() local 89 qobj = container_of(bo, struct virtio_gpu_object, tbo); in virtio_gpu_unref_list() 91 drm_gem_object_put_unlocked(&qobj->gem_base); in virtio_gpu_unref_list() 109 struct virtio_gpu_object *qobj; in virtio_gpu_execbuffer_ioctl() local 153 qobj = gem_to_virtio_gpu_obj(gobj); in virtio_gpu_execbuffer_ioctl() 154 buflist[i].bo = &qobj->tbo; in virtio_gpu_execbuffer_ioctl() 221 struct virtio_gpu_object *qobj; in virtio_gpu_resource_create_ioctl() local [all …]
|
D | virtgpu_gem.c | 143 struct virtio_gpu_object *qobj = gem_to_virtio_gpu_obj(obj); in virtio_gpu_gem_object_open() local 149 r = virtio_gpu_object_reserve(qobj, false); in virtio_gpu_gem_object_open() 154 qobj->hw_res_handle); in virtio_gpu_gem_object_open() 155 virtio_gpu_object_unreserve(qobj); in virtio_gpu_gem_object_open() 164 struct virtio_gpu_object *qobj = gem_to_virtio_gpu_obj(obj); in virtio_gpu_gem_object_close() local 170 r = virtio_gpu_object_reserve(qobj, false); in virtio_gpu_gem_object_close() 175 qobj->hw_res_handle); in virtio_gpu_gem_object_close() 176 virtio_gpu_object_unreserve(qobj); in virtio_gpu_gem_object_close()
|
/Linux-v4.19/drivers/gpu/drm/qxl/ |
D | qxl_ioctl.c | 39 struct qxl_bo *qobj; in qxl_alloc_ioctl() local 51 &qobj, &handle); in qxl_alloc_ioctl() 114 struct qxl_bo *qobj; in qxlhw_handle_to_bo() local 121 qobj = gem_to_qxl_bo(gobj); in qxlhw_handle_to_bo() 123 ret = qxl_release_list_add(release, qobj); in qxlhw_handle_to_bo() 128 *qbo_p = qobj; in qxlhw_handle_to_bo() 311 struct qxl_bo *qobj = NULL; in qxl_update_area_ioctl() local 322 qobj = gem_to_qxl_bo(gobj); in qxl_update_area_ioctl() 324 ret = qxl_bo_reserve(qobj, false); in qxl_update_area_ioctl() 328 if (!qobj->pin_count) { in qxl_update_area_ioctl() [all …]
|
D | qxl_dumb.c | 36 struct qxl_bo *qobj; in qxl_mode_dumb_create() local 62 args->size, &surf, &qobj, in qxl_mode_dumb_create() 66 qobj->is_dumb = true; in qxl_mode_dumb_create() 77 struct qxl_bo *qobj; in qxl_mode_dumb_mmap() local 83 qobj = gem_to_qxl_bo(gobj); in qxl_mode_dumb_mmap() 84 *offset_p = qxl_bo_mmap_offset(qobj); in qxl_mode_dumb_mmap()
|
D | qxl_gem.c | 34 struct qxl_bo *qobj = gem_to_qxl_bo(gobj); in qxl_gem_object_free() local 40 qxl_surface_evict(qdev, qobj, false); in qxl_gem_object_free() 42 tbo = &qobj->tbo; in qxl_gem_object_free() 81 struct qxl_bo **qobj, in qxl_gem_object_create_with_handle() argument 87 BUG_ON(!qobj); in qxl_gem_object_create_with_handle() 100 *qobj = gem_to_qxl_bo(gobj); in qxl_gem_object_create_with_handle()
|
D | qxl_fb.c | 426 bool qxl_fbdev_qobj_is_fb(struct qxl_device *qdev, struct qxl_bo *qobj) in qxl_fbdev_qobj_is_fb() argument 428 if (qobj == gem_to_qxl_bo(qdev->mode_info.qfbdev->qfb.obj)) in qxl_fbdev_qobj_is_fb()
|
D | qxl_drv.h | 382 struct qxl_bo **qobj, 519 bool qxl_fbdev_qobj_is_fb(struct qxl_device *qdev, struct qxl_bo *qobj);
|
D | qxl_display.c | 402 struct qxl_bo *qobj; in qxl_framebuffer_surface_dirty() local 407 qobj = gem_to_qxl_bo(qxl_fb->obj); in qxl_framebuffer_surface_dirty() 409 if (!qobj->is_primary) { in qxl_framebuffer_surface_dirty() 425 qxl_draw_dirty_fb(qdev, qxl_fb, qobj, flags, color, in qxl_framebuffer_surface_dirty()
|