Home
last modified time | relevance | path

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

/hardware/intel/img/libdrm/libdrm/intel/
Dintel_bufmgr_gem.c626 struct drm_i915_gem_mmap mmap_arg; in drm_intel_gem_bo_map() local
630 memset(&mmap_arg, 0, sizeof(mmap_arg)); in drm_intel_gem_bo_map()
631 mmap_arg.handle = bo_gem->gem_handle; in drm_intel_gem_bo_map()
632 mmap_arg.offset = 0; in drm_intel_gem_bo_map()
633 mmap_arg.size = bo->size; in drm_intel_gem_bo_map()
634 ret = ioctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_MMAP, &mmap_arg); in drm_intel_gem_bo_map()
642 bo_gem->mem_virtual = (void *)(uintptr_t)mmap_arg.addr_ptr; in drm_intel_gem_bo_map()
682 struct drm_i915_gem_mmap_gtt mmap_arg; in drm_intel_gem_bo_map_gtt() local
686 memset(&mmap_arg, 0, sizeof(mmap_arg)); in drm_intel_gem_bo_map_gtt()
687 mmap_arg.handle = bo_gem->gem_handle; in drm_intel_gem_bo_map_gtt()
[all …]