Lines Matching refs:astbo
140 struct ast_bo *astbo = ast_bo(bo); in ast_bo_evict_flags() local
145 ast_ttm_placement(astbo, TTM_PL_FLAG_SYSTEM); in ast_bo_evict_flags()
146 *pl = astbo->placement; in ast_bo_evict_flags()
151 struct ast_bo *astbo = ast_bo(bo); in ast_bo_verify_access() local
153 return drm_vma_node_verify_access(&astbo->gem.vma_node, filp); in ast_bo_verify_access()
318 struct ast_bo *astbo; in ast_bo_create() local
322 astbo = kzalloc(sizeof(struct ast_bo), GFP_KERNEL); in ast_bo_create()
323 if (!astbo) in ast_bo_create()
326 ret = drm_gem_object_init(dev, &astbo->gem, size); in ast_bo_create()
328 kfree(astbo); in ast_bo_create()
332 astbo->bo.bdev = &ast->ttm.bdev; in ast_bo_create()
334 ast_ttm_placement(astbo, TTM_PL_FLAG_VRAM | TTM_PL_FLAG_SYSTEM); in ast_bo_create()
339 ret = ttm_bo_init(&ast->ttm.bdev, &astbo->bo, size, in ast_bo_create()
340 ttm_bo_type_device, &astbo->placement, in ast_bo_create()
346 *pastbo = astbo; in ast_bo_create()