Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/qxl/
Dqxl_ioctl.c41 struct qxl_bo *qobj; in qxl_alloc_ioctl() local
53 &qobj, &handle); in qxl_alloc_ioctl()
116 struct qxl_bo *qobj; in qxlhw_handle_to_bo() local
123 qobj = gem_to_qxl_bo(gobj); in qxlhw_handle_to_bo()
125 ret = qxl_release_list_add(release, qobj); in qxlhw_handle_to_bo()
130 *qbo_p = qobj; in qxlhw_handle_to_bo()
307 struct qxl_bo *qobj = NULL; in qxl_update_area_ioctl() local
318 qobj = gem_to_qxl_bo(gobj); in qxl_update_area_ioctl()
320 ret = qxl_bo_reserve(qobj); in qxl_update_area_ioctl()
324 if (!qobj->tbo.pin_count) { in qxl_update_area_ioctl()
[all …]
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_dumb.c36 struct qxl_bo *qobj; in qxl_mode_dumb_create() local
65 args->size, &surf, &qobj, in qxl_mode_dumb_create()
69 qobj->is_dumb = true; in qxl_mode_dumb_create()
Dqxl_display.c412 struct qxl_bo *qobj; in qxl_framebuffer_surface_dirty() local
419 qobj = gem_to_qxl_bo(fb->obj[0]); in qxl_framebuffer_surface_dirty()
421 is_primary = qobj->shadow ? qobj->shadow->is_primary : qobj->is_primary; in qxl_framebuffer_surface_dirty()
436 qxl_draw_dirty_fb(qdev, fb, qobj, flags, color, in qxl_framebuffer_surface_dirty()
Dqxl_drv.h315 struct qxl_bo **qobj,
/linux-6.1.9/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c311 struct virtio_gpu_object *qobj; in virtio_gpu_resource_create_ioctl() local
350 ret = virtio_gpu_object_create(vgdev, &params, &qobj, fence); in virtio_gpu_resource_create_ioctl()
354 obj = &qobj->base.base; in virtio_gpu_resource_create_ioctl()
362 rc->res_handle = qobj->hw_res_handle; /* similiar to a VM address */ in virtio_gpu_resource_create_ioctl()
381 struct virtio_gpu_object *qobj = NULL; in virtio_gpu_resource_info_ioctl() local
387 qobj = gem_to_virtio_gpu_obj(gobj); in virtio_gpu_resource_info_ioctl()
389 ri->size = qobj->base.base.size; in virtio_gpu_resource_info_ioctl()
390 ri->res_handle = qobj->hw_res_handle; in virtio_gpu_resource_info_ioctl()
391 if (qobj->host3d_blob || qobj->guest_blob) in virtio_gpu_resource_info_ioctl()
392 ri->blob_mem = qobj->blob_mem; in virtio_gpu_resource_info_ioctl()