Searched refs:mmap_arg (Results 1 – 3 of 3) sorted by relevance
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 1448 struct drm_i915_gem_mmap mmap_arg; in drm_intel_gem_bo_map() local 1453 memclear(mmap_arg); in drm_intel_gem_bo_map() 1454 mmap_arg.handle = bo_gem->gem_handle; in drm_intel_gem_bo_map() 1455 mmap_arg.size = bo->size; in drm_intel_gem_bo_map() 1458 &mmap_arg); in drm_intel_gem_bo_map() 1469 VG(VALGRIND_MALLOCLIKE_BLOCK(mmap_arg.addr_ptr, mmap_arg.size, 0, 1)); in drm_intel_gem_bo_map() 1470 bo_gem->mem_virtual = (void *)(uintptr_t) mmap_arg.addr_ptr; in drm_intel_gem_bo_map() 1517 struct drm_i915_gem_mmap_gtt mmap_arg; in map_gtt() local 1522 memclear(mmap_arg); in map_gtt() 1523 mmap_arg.handle = bo_gem->gem_handle; in map_gtt() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_bufmgr.c | 727 struct drm_i915_gem_mmap mmap_arg = { in brw_bo_map_cpu() local 731 int ret = drmIoctl(bufmgr->fd, DRM_IOCTL_I915_GEM_MMAP, &mmap_arg); in brw_bo_map_cpu() 738 void *map = (void *) (uintptr_t) mmap_arg.addr_ptr; in brw_bo_map_cpu() 790 struct drm_i915_gem_mmap mmap_arg = { in brw_bo_map_wc() local 795 int ret = drmIoctl(bufmgr->fd, DRM_IOCTL_I915_GEM_MMAP, &mmap_arg); in brw_bo_map_wc() 803 void *map = (void *) (uintptr_t) mmap_arg.addr_ptr; in brw_bo_map_wc() 854 struct drm_i915_gem_mmap_gtt mmap_arg = { .handle = bo->gem_handle }; in brw_bo_map_gtt() local 857 int ret = drmIoctl(bufmgr->fd, DRM_IOCTL_I915_GEM_MMAP_GTT, &mmap_arg); in brw_bo_map_gtt() 866 MAP_SHARED, bufmgr->fd, mmap_arg.offset); in brw_bo_map_gtt()
|
/external/mesa3d/src/gallium/winsys/virgl/drm/ |
D | virgl_drm_winsys.c | 522 struct drm_virtgpu_map mmap_arg; in virgl_drm_resource_map() local 528 memset(&mmap_arg, 0, sizeof(mmap_arg)); in virgl_drm_resource_map() 529 mmap_arg.handle = res->bo_handle; in virgl_drm_resource_map() 530 if (drmIoctl(qdws->fd, DRM_IOCTL_VIRTGPU_MAP, &mmap_arg)) in virgl_drm_resource_map() 534 qdws->fd, mmap_arg.offset); in virgl_drm_resource_map()
|