Searched refs:gem_vaddr (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/broadcom/drm-shim/ |
D | v3dx.c | 114 memcpy(bo->sim_vaddr, bo->gem_vaddr, bo->base.size); in v3d_simulator_copy_in_handle() 125 memcpy(bo->gem_vaddr, bo->sim_vaddr, bo->base.size); in v3d_simulator_copy_out_handle() 242 bo->gem_vaddr = mmap(NULL, bo->base.size, in v3dX() 246 if (bo->gem_vaddr == MAP_FAILED) { in v3dX() 348 if (bo->gem_vaddr) in v3d_bo_free() 349 munmap(bo->gem_vaddr, shim_bo->size); in v3d_bo_free()
|
D | v3d.h | 52 void *gem_vaddr; member
|
/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 | 127 void *gem_vaddr; member 268 sim_bo->gem_vaddr = mmap(NULL, sim_bo->size, in v3d_create_simulator_bo_for_gem() 271 if (sim_bo->gem_vaddr == MAP_FAILED) { in v3d_create_simulator_bo_for_gem() 311 if (sim_bo->gem_vaddr) in v3d_free_simulator_bo() 312 munmap(sim_bo->gem_vaddr, sim_bo->size); in v3d_free_simulator_bo() 346 memcpy(sim_bo->sim_vaddr, sim_bo->gem_vaddr, sim_bo->size); in v3d_simulator_copy_in_handle() 357 memcpy(sim_bo->gem_vaddr, sim_bo->sim_vaddr, sim_bo->size); in v3d_simulator_copy_out_handle()
|