Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_miptree.c453 union nouveau_bo_config bo_config; in nvc0_miptree_create() local
496 bo_config.nvc0.memtype = 0; in nvc0_miptree_create()
498 bo_config.nvc0.memtype = (modifier >> 12) & 0xff; in nvc0_miptree_create()
501 bo_config.nvc0.memtype = nvc0_mt_choose_storage_type(pscreen, mt, compressed); in nvc0_miptree_create()
513 if (likely(bo_config.nvc0.memtype)) { in nvc0_miptree_create()
529 bo_config.nvc0.tile_mode = mt->level[0].tile_mode; in nvc0_miptree_create()
531 if (!bo_config.nvc0.memtype && (pt->usage == PIPE_USAGE_STAGING || pt->bind & PIPE_BIND_SHARED)) in nvc0_miptree_create()
541 ret = nouveau_bo_new(dev, bo_flags, 4096, mt->total_size, &bo_config, in nvc0_miptree_create()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_miptree.c339 union nouveau_bo_config bo_config; in nv50_miptree_create() local
353 bo_config.nv50.memtype = nv50_mt_choose_storage_type(mt, compressed); in nv50_miptree_create()
367 if (bo_config.nv50.memtype != 0) { in nv50_miptree_create()
381 bo_config.nv50.tile_mode = mt->level[0].tile_mode; in nv50_miptree_create()
383 if (!bo_config.nv50.memtype && (pt->bind & PIPE_BIND_SHARED)) in nv50_miptree_create()
392 ret = nouveau_bo_new(dev, bo_flags, 4096, mt->total_size, &bo_config, in nv50_miptree_create()

Completed in 2 milliseconds