Home
last modified time | relevance | path

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

/Linux-v5.10/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()
312 struct qxl_bo *qobj = NULL; in qxl_update_area_ioctl() local
323 qobj = gem_to_qxl_bo(gobj); in qxl_update_area_ioctl()
325 ret = qxl_bo_reserve(qobj); in qxl_update_area_ioctl()
329 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.c407 struct qxl_bo *qobj; in qxl_framebuffer_surface_dirty() local
414 qobj = gem_to_qxl_bo(fb->obj[0]); in qxl_framebuffer_surface_dirty()
416 is_primary = qobj->shadow ? qobj->shadow->is_primary : qobj->is_primary; in qxl_framebuffer_surface_dirty()
431 qxl_draw_dirty_fb(qdev, fb, qobj, flags, color, in qxl_framebuffer_surface_dirty()
Dqxl_drv.h332 struct qxl_bo **qobj,
/Linux-v5.10/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c232 struct virtio_gpu_object *qobj; in virtio_gpu_resource_create_ioctl() local
271 ret = virtio_gpu_object_create(vgdev, &params, &qobj, fence); in virtio_gpu_resource_create_ioctl()
275 obj = &qobj->base.base; in virtio_gpu_resource_create_ioctl()
284 rc->res_handle = qobj->hw_res_handle; /* similiar to a VM address */ in virtio_gpu_resource_create_ioctl()
294 struct virtio_gpu_object *qobj = NULL; in virtio_gpu_resource_info_ioctl() local
300 qobj = gem_to_virtio_gpu_obj(gobj); in virtio_gpu_resource_info_ioctl()
302 ri->size = qobj->base.base.size; in virtio_gpu_resource_info_ioctl()
303 ri->res_handle = qobj->hw_res_handle; in virtio_gpu_resource_info_ioctl()