Searched refs:bo_config (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_miptree.c | 450 union nouveau_bo_config bo_config; in nvc0_miptree_create() local 493 bo_config.nvc0.memtype = 0; in nvc0_miptree_create() 495 bo_config.nvc0.memtype = (modifier >> 12) & 0xff; in nvc0_miptree_create() 498 bo_config.nvc0.memtype = nvc0_mt_choose_storage_type(pscreen, mt, compressed); in nvc0_miptree_create() 510 if (likely(bo_config.nvc0.memtype)) { in nvc0_miptree_create() 526 bo_config.nvc0.tile_mode = mt->level[0].tile_mode; in nvc0_miptree_create() 528 if (!bo_config.nvc0.memtype && (pt->usage == PIPE_USAGE_STAGING || pt->bind & PIPE_BIND_SHARED)) in nvc0_miptree_create() 538 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/ |
D | nv50_miptree.c | 339 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()
|