Searched refs:qobj (Results 1 – 5 of 5) sorted by relevance
/drivers/gpu/drm/qxl/ |
D | qxl_ioctl.c | 117 struct qxl_bo *qobj; in qxlhw_handle_to_bo() local 124 qobj = gem_to_qxl_bo(gobj); in qxlhw_handle_to_bo() 126 ret = qxl_release_list_add(release, qobj); in qxlhw_handle_to_bo() 131 *qbo_p = qobj; in qxlhw_handle_to_bo() 310 struct qxl_bo *qobj = NULL; in qxl_update_area_ioctl() local 321 qobj = gem_to_qxl_bo(gobj); in qxl_update_area_ioctl() 323 ret = qxl_bo_reserve(qobj); in qxl_update_area_ioctl() 327 if (!qobj->tbo.pin_count) { in qxl_update_area_ioctl() 328 qxl_ttm_placement_from_domain(qobj, qobj->type); in qxl_update_area_ioctl() 329 ret = ttm_bo_validate(&qobj->tbo, &qobj->placement, &ctx); in qxl_update_area_ioctl() [all …]
|
D | qxl_dumb.c | 36 struct qxl_bo *qobj; in qxl_mode_dumb_create() local 70 qobj = gem_to_qxl_bo(gobj); in qxl_mode_dumb_create() 71 qobj->is_dumb = true; in qxl_mode_dumb_create()
|
D | qxl_gem.c | 33 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()
|
D | qxl_display.c | 409 struct qxl_bo *qobj; in qxl_framebuffer_surface_dirty() local 416 qobj = gem_to_qxl_bo(fb->obj[0]); in qxl_framebuffer_surface_dirty() 418 is_primary = qobj->shadow ? qobj->shadow->is_primary : qobj->is_primary; in qxl_framebuffer_surface_dirty() 433 qxl_draw_dirty_fb(qdev, fb, qobj, flags, color, in qxl_framebuffer_surface_dirty()
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_ioctl.c | 245 struct virtio_gpu_object *qobj; in virtio_gpu_resource_create_ioctl() local 284 ret = virtio_gpu_object_create(vgdev, ¶ms, &qobj, fence); in virtio_gpu_resource_create_ioctl() 288 obj = &qobj->base.base; in virtio_gpu_resource_create_ioctl() 296 rc->res_handle = qobj->hw_res_handle; /* similiar to a VM address */ in virtio_gpu_resource_create_ioctl() 315 struct virtio_gpu_object *qobj = NULL; in virtio_gpu_resource_info_ioctl() local 321 qobj = gem_to_virtio_gpu_obj(gobj); in virtio_gpu_resource_info_ioctl() 323 ri->size = qobj->base.base.size; in virtio_gpu_resource_info_ioctl() 324 ri->res_handle = qobj->hw_res_handle; in virtio_gpu_resource_info_ioctl() 325 if (qobj->host3d_blob || qobj->guest_blob) in virtio_gpu_resource_info_ioctl() 326 ri->blob_mem = qobj->blob_mem; in virtio_gpu_resource_info_ioctl()
|