Home
last modified time | relevance | path

Searched refs:qobj (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c65 struct virtio_gpu_object *qobj; in virtio_gpu_object_list_validate() local
74 qobj = container_of(bo, struct virtio_gpu_object, tbo); in virtio_gpu_object_list_validate()
75 ret = ttm_bo_validate(bo, &qobj->placement, &ctx); in virtio_gpu_object_list_validate()
88 struct virtio_gpu_object *qobj; in virtio_gpu_unref_list() local
92 qobj = container_of(bo, struct virtio_gpu_object, tbo); in virtio_gpu_unref_list()
94 drm_gem_object_put_unlocked(&qobj->gem_base); in virtio_gpu_unref_list()
112 struct virtio_gpu_object *qobj; in virtio_gpu_execbuffer_ioctl() local
187 qobj = gem_to_virtio_gpu_obj(gobj); in virtio_gpu_execbuffer_ioctl()
188 buflist[i].bo = &qobj->tbo; in virtio_gpu_execbuffer_ioctl()
280 struct virtio_gpu_object *qobj; in virtio_gpu_resource_create_ioctl() local
[all …]
Dvirtgpu_gem.c139 struct virtio_gpu_object *qobj = gem_to_virtio_gpu_obj(obj); in virtio_gpu_gem_object_open() local
145 r = virtio_gpu_object_reserve(qobj, false); in virtio_gpu_gem_object_open()
150 qobj->hw_res_handle); in virtio_gpu_gem_object_open()
151 virtio_gpu_object_unreserve(qobj); in virtio_gpu_gem_object_open()
160 struct virtio_gpu_object *qobj = gem_to_virtio_gpu_obj(obj); in virtio_gpu_gem_object_close() local
166 r = virtio_gpu_object_reserve(qobj, false); in virtio_gpu_gem_object_close()
171 qobj->hw_res_handle); in virtio_gpu_gem_object_close()
172 virtio_gpu_object_unreserve(qobj); in virtio_gpu_gem_object_close()
/drivers/gpu/drm/qxl/
Dqxl_ioctl.c42 struct qxl_bo *qobj; in qxl_alloc_ioctl() local
54 &qobj, &handle); in qxl_alloc_ioctl()
118 struct qxl_bo *qobj; in qxlhw_handle_to_bo() local
125 qobj = gem_to_qxl_bo(gobj); in qxlhw_handle_to_bo()
127 ret = qxl_release_list_add(release, qobj); in qxlhw_handle_to_bo()
132 *qbo_p = qobj; in qxlhw_handle_to_bo()
315 struct qxl_bo *qobj = NULL; in qxl_update_area_ioctl() local
326 qobj = gem_to_qxl_bo(gobj); in qxl_update_area_ioctl()
328 ret = qxl_bo_reserve(qobj, false); in qxl_update_area_ioctl()
332 if (!qobj->pin_count) { in qxl_update_area_ioctl()
[all …]
Dqxl_dumb.c36 struct qxl_bo *qobj; in qxl_mode_dumb_create() local
63 args->size, &surf, &qobj, in qxl_mode_dumb_create()
67 qobj->is_dumb = true; in qxl_mode_dumb_create()
78 struct qxl_bo *qobj; in qxl_mode_dumb_mmap() local
84 qobj = gem_to_qxl_bo(gobj); in qxl_mode_dumb_mmap()
85 *offset_p = qxl_bo_mmap_offset(qobj); in qxl_mode_dumb_mmap()
Dqxl_gem.c33 struct qxl_bo *qobj = gem_to_qxl_bo(gobj); in qxl_gem_object_free() local
39 qxl_surface_evict(qdev, qobj, false); in qxl_gem_object_free()
41 tbo = &qobj->tbo; in qxl_gem_object_free()
80 struct qxl_bo **qobj, in qxl_gem_object_create_with_handle() argument
86 BUG_ON(!qobj); in qxl_gem_object_create_with_handle()
99 *qobj = gem_to_qxl_bo(gobj); in qxl_gem_object_create_with_handle()
Dqxl_display.c418 struct qxl_bo *qobj; in qxl_framebuffer_surface_dirty() local
424 qobj = gem_to_qxl_bo(fb->obj[0]); in qxl_framebuffer_surface_dirty()
426 is_primary = qobj->shadow ? qobj->shadow->is_primary : qobj->is_primary; in qxl_framebuffer_surface_dirty()
443 qxl_draw_dirty_fb(qdev, fb, qobj, flags, color, in qxl_framebuffer_surface_dirty()
Dqxl_drv.h337 struct qxl_bo **qobj,