Home
last modified time | relevance | path

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

/third_party/mesa3d/src/panfrost/drm-shim/
Dpanfrost_noop.c95 struct drm_panfrost_mmap_bo *mmap_bo = arg; in pan_ioctl_mmap_bo() local
98 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, mmap_bo->handle); in pan_ioctl_mmap_bo()
100 mmap_bo->offset = drm_shim_bo_get_mmap_offset(shim_fd, bo); in pan_ioctl_mmap_bo()
/third_party/mesa3d/src/panfrost/lib/
Dpan_bo.c334 struct drm_panfrost_mmap_bo mmap_bo = { .handle = bo->gem_handle }; in panfrost_bo_mmap() local
340 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_PANFROST_MMAP_BO, &mmap_bo); in panfrost_bo_mmap()
347 bo->dev->fd, mmap_bo.offset); in panfrost_bo_mmap()
353 (long long)mmap_bo.offset); in panfrost_bo_mmap()