Home
last modified time | relevance | path

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

/third_party/mesa3d/src/panfrost/drm-shim/
Dpanfrost_noop.c107 struct drm_panfrost_mmap_bo *mmap_bo = arg; in pan_ioctl_mmap_bo() local
110 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, mmap_bo->handle); in pan_ioctl_mmap_bo()
112 mmap_bo->offset = drm_shim_bo_get_mmap_offset(shim_fd, bo); in pan_ioctl_mmap_bo()
/third_party/mesa3d/src/amd/drm-shim/
Dradeon_noop_drm_shim.c110 struct drm_radeon_gem_mmap *mmap_bo = arg; in radeon_ioctl_gem_mmap() local
113 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, mmap_bo->handle); in radeon_ioctl_gem_mmap()
115 mmap_bo->addr_ptr = drm_shim_bo_get_mmap_offset(shim_fd, bo); in radeon_ioctl_gem_mmap()
/third_party/mesa3d/src/panfrost/lib/
Dpan_bo.c329 struct drm_panfrost_mmap_bo mmap_bo = { .handle = bo->gem_handle }; in panfrost_bo_mmap() local
335 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_PANFROST_MMAP_BO, &mmap_bo); in panfrost_bo_mmap()
342 bo->dev->fd, mmap_bo.offset); in panfrost_bo_mmap()
348 (long long)mmap_bo.offset); in panfrost_bo_mmap()