Home
last modified time | relevance | path

Searched refs:bo_config (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_miptree.c378 union nouveau_bo_config bo_config; in nvc0_miptree_create() local
410 bo_config.nvc0.memtype = nvc0_mt_choose_storage_type(mt, compressed); in nvc0_miptree_create()
412 bo_config.nvc0.memtype = tu102_mt_choose_storage_type(mt, compressed); in nvc0_miptree_create()
422 if (likely(bo_config.nvc0.memtype)) { in nvc0_miptree_create()
429 bo_config.nvc0.tile_mode = mt->level[0].tile_mode; in nvc0_miptree_create()
431 if (!bo_config.nvc0.memtype && (pt->usage == PIPE_USAGE_STAGING || pt->bind & PIPE_BIND_SHARED)) in nvc0_miptree_create()
441 ret = nouveau_bo_new(dev, bo_flags, 4096, mt->total_size, &bo_config, in nvc0_miptree_create()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_miptree.c343 union nouveau_bo_config bo_config; in nv50_miptree_create() local
357 bo_config.nv50.memtype = nv50_mt_choose_storage_type(mt, compressed); in nv50_miptree_create()
371 if (bo_config.nv50.memtype != 0) { in nv50_miptree_create()
378 bo_config.nv50.tile_mode = mt->level[0].tile_mode; in nv50_miptree_create()
380 if (!bo_config.nv50.memtype && (pt->bind & PIPE_BIND_SHARED)) in nv50_miptree_create()
389 ret = nouveau_bo_new(dev, bo_flags, 4096, mt->total_size, &bo_config, in nv50_miptree_create()