Searched refs:gem_vaddr (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_simulator.c | 108 void *gem_vaddr; member 180 sim_bo->gem_vaddr = mmap(NULL, obj->base.size, in vc4_create_simulator_bo() 183 if (sim_bo->gem_vaddr == MAP_FAILED) { in vc4_create_simulator_bo() 205 if (sim_bo->gem_vaddr) in vc4_free_simulator_bo() 206 munmap(sim_bo->gem_vaddr, obj->base.size); in vc4_free_simulator_bo() 253 memcpy(obj->vaddr, sim_bo->gem_vaddr, obj->base.size); in vc4_simulator_pin_bos() 271 if (sim_bo->gem_vaddr) in vc4_simulator_unpin_bos() 272 memcpy(sim_bo->gem_vaddr, obj->vaddr, obj->base.size); in vc4_simulator_unpin_bos() 506 memcpy(sim_bo->gem_vaddr, (void *)(uintptr_t)args->data, args->size); in vc4_simulator_create_shader_bo_ioctl()
|
/third_party/mesa3d/src/broadcom/simulator/ |
D | v3d_simulator.c | 134 void *gem_vaddr; member 289 sim_bo->gem_vaddr = mmap(NULL, sim_bo->size, in v3d_create_simulator_bo_for_gem() 292 if (sim_bo->gem_vaddr == MAP_FAILED) { in v3d_create_simulator_bo_for_gem() 332 if (sim_bo->gem_vaddr) in v3d_free_simulator_bo() 333 munmap(sim_bo->gem_vaddr, sim_bo->size); in v3d_free_simulator_bo() 367 memcpy(sim_bo->sim_vaddr, sim_bo->gem_vaddr, sim_bo->size); in v3d_simulator_copy_in_handle() 378 memcpy(sim_bo->gem_vaddr, sim_bo->sim_vaddr, sim_bo->size); in v3d_simulator_copy_out_handle()
|