Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator.c136 struct vc4_simulator_bo *sim_bo = rzalloc(file, in vc4_create_simulator_bo() local
138 struct drm_vc4_bo *bo = &sim_bo->base; in vc4_create_simulator_bo()
142 sim_bo->file = file; in vc4_create_simulator_bo()
143 sim_bo->handle = handle; in vc4_create_simulator_bo()
146 sim_bo->block = u_mmAllocMem(sim_state.heap, size + 4, PAGE_ALIGN2, 0); in vc4_create_simulator_bo()
148 assert(sim_bo->block); in vc4_create_simulator_bo()
152 obj->vaddr = sim_state.mem + sim_bo->block->ofs; in vc4_create_simulator_bo()
166 return sim_bo; in vc4_create_simulator_bo()
170 vc4_free_simulator_bo(struct vc4_simulator_bo *sim_bo) in vc4_free_simulator_bo() argument
172 struct vc4_simulator_file *sim_file = sim_bo->file; in vc4_free_simulator_bo()
[all …]