Lines Matching refs:bo
111 struct ttm_buffer_object *bo; in qxl_ttm_fault() local
115 bo = (struct ttm_buffer_object *)vma->vm_private_data; in qxl_ttm_fault()
116 if (bo == NULL) in qxl_ttm_fault()
118 qdev = qxl_get_qdev(bo->bdev); in qxl_ttm_fault()
193 static void qxl_evict_flags(struct ttm_buffer_object *bo, in qxl_evict_flags() argument
199 if (!qxl_ttm_bo_is_qxl_bo(bo)) { in qxl_evict_flags()
208 qbo = container_of(bo, struct qxl_bo, tbo); in qxl_evict_flags()
213 static int qxl_verify_access(struct ttm_buffer_object *bo, struct file *filp) in qxl_verify_access() argument
339 static void qxl_move_null(struct ttm_buffer_object *bo, in qxl_move_null() argument
342 struct ttm_mem_reg *old_mem = &bo->mem; in qxl_move_null()
349 static int qxl_bo_move(struct ttm_buffer_object *bo, in qxl_bo_move() argument
354 struct ttm_mem_reg *old_mem = &bo->mem; in qxl_bo_move()
355 if (old_mem->mem_type == TTM_PL_SYSTEM && bo->ttm == NULL) { in qxl_bo_move()
356 qxl_move_null(bo, new_mem); in qxl_bo_move()
359 return ttm_bo_move_memcpy(bo, evict, no_wait_gpu, new_mem); in qxl_bo_move()
368 struct qxl_bo *bo = container_of(qfence, struct qxl_bo, fence); in qxl_sync_obj_wait() local
375 if (bo->type == QXL_GEM_DOMAIN_SURFACE) in qxl_sync_obj_wait()
376 qxl_update_surface(qfence->qdev, bo); in qxl_sync_obj_wait()
418 …utstanding releases %d %d %d %ld %d\n", sc, bo->surface_id, bo->is_primary, bo->pin_count, (unsign… in qxl_sync_obj_wait()
447 static void qxl_bo_move_notify(struct ttm_buffer_object *bo, in qxl_bo_move_notify() argument
453 if (!qxl_ttm_bo_is_qxl_bo(bo)) in qxl_bo_move_notify()
455 qbo = container_of(bo, struct qxl_bo, tbo); in qxl_bo_move_notify()
458 if (bo->mem.mem_type == TTM_PL_PRIV0 && qbo->surface_id) in qxl_bo_move_notify()