Lines Matching refs:bo

274 	struct tegra_bo *bo;  in host1x_bo_lookup()  local
284 bo = to_tegra_bo(gem); in host1x_bo_lookup()
285 return &bo->base; in host1x_bo_lookup()
316 dest->cmdbuf.bo = host1x_bo_lookup(drm, file, cmdbuf); in host1x_reloc_copy_from_user()
317 if (!dest->cmdbuf.bo) in host1x_reloc_copy_from_user()
320 dest->target.bo = host1x_bo_lookup(drm, file, target); in host1x_reloc_copy_from_user()
321 if (!dest->target.bo) in host1x_reloc_copy_from_user()
361 struct host1x_bo *bo; in tegra_drm_submit() local
368 bo = host1x_bo_lookup(drm, file, cmdbuf.handle); in tegra_drm_submit()
369 if (!bo) { in tegra_drm_submit()
374 host1x_job_add_gather(job, bo, cmdbuf.words, cmdbuf.offset); in tegra_drm_submit()
451 struct tegra_bo *bo; in tegra_gem_create() local
453 bo = tegra_bo_create_with_handle(file, drm, args->size, args->flags, in tegra_gem_create()
455 if (IS_ERR(bo)) in tegra_gem_create()
456 return PTR_ERR(bo); in tegra_gem_create()
466 struct tegra_bo *bo; in tegra_gem_mmap() local
472 bo = to_tegra_bo(gem); in tegra_gem_mmap()
474 args->offset = drm_vma_node_offset_addr(&bo->gem.vma_node); in tegra_gem_mmap()
645 struct tegra_bo *bo; in tegra_gem_set_tiling() local
681 bo = to_tegra_bo(gem); in tegra_gem_set_tiling()
683 bo->tiling.mode = mode; in tegra_gem_set_tiling()
684 bo->tiling.value = value; in tegra_gem_set_tiling()
696 struct tegra_bo *bo; in tegra_gem_get_tiling() local
703 bo = to_tegra_bo(gem); in tegra_gem_get_tiling()
705 switch (bo->tiling.mode) { in tegra_gem_get_tiling()
718 args->value = bo->tiling.value; in tegra_gem_get_tiling()
736 struct tegra_bo *bo; in tegra_gem_set_flags() local
745 bo = to_tegra_bo(gem); in tegra_gem_set_flags()
746 bo->flags = 0; in tegra_gem_set_flags()
749 bo->flags |= TEGRA_BO_BOTTOM_UP; in tegra_gem_set_flags()
761 struct tegra_bo *bo; in tegra_gem_get_flags() local
767 bo = to_tegra_bo(gem); in tegra_gem_get_flags()
770 if (bo->flags & TEGRA_BO_BOTTOM_UP) in tegra_gem_get_flags()