Home
last modified time | relevance | path

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

/external/igt-gpu-tools/lib/
Digt_v3d.c107 struct drm_v3d_mmap_bo mmap_bo = { in igt_v3d_mmap_bo() local
112 do_ioctl(fd, DRM_IOCTL_V3D_MMAP_BO, &mmap_bo); in igt_v3d_mmap_bo()
114 ptr = mmap(0, size, prot, MAP_SHARED, fd, mmap_bo.offset); in igt_v3d_mmap_bo()
Digt_panfrost.c108 struct drm_panfrost_mmap_bo mmap_bo = { in igt_panfrost_mmap_bo() local
113 mmap_bo.handle = handle; in igt_panfrost_mmap_bo()
114 do_ioctl(fd, DRM_IOCTL_PANFROST_MMAP_BO, &mmap_bo); in igt_panfrost_mmap_bo()
116 ptr = mmap(0, size, prot, MAP_SHARED, fd, mmap_bo.offset); in igt_panfrost_mmap_bo()
Digt_vc4.c136 struct drm_vc4_mmap_bo mmap_bo = { in igt_vc4_mmap_bo() local
141 do_ioctl(fd, DRM_IOCTL_VC4_MMAP_BO, &mmap_bo); in igt_vc4_mmap_bo()
143 ptr = mmap(0, size, prot, MAP_SHARED, fd, mmap_bo.offset); in igt_vc4_mmap_bo()
/external/igt-gpu-tools/tests/i915/
Dgem_mmap_wc.c75 mmap_bo(int fd, uint32_t handle) in mmap_bo() function
92 ptr = mmap_bo(fd, handle); in create_pointer()
170 ptr = mmap_bo(fd, handle); in test_read_write()
266 dst_gtt = mmap_bo(fd, dst); in test_write_gtt()
298 uint8_t *ptr = mmap_bo(fd, handle); in test_close()
Dgem_mmap_gtt.c59 mmap_bo(int fd, uint32_t handle) in mmap_bo() function
76 ptr = mmap_bo(fd, handle); in create_pointer()
373 dst_gtt = mmap_bo(fd, dst); in test_write_gtt()
/external/mesa3d/src/panfrost/lib/
Dpan_bo.c322 struct drm_panfrost_mmap_bo mmap_bo = { .handle = bo->gem_handle }; in panfrost_bo_mmap() local
328 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_PANFROST_MMAP_BO, &mmap_bo); in panfrost_bo_mmap()
335 bo->dev->fd, mmap_bo.offset); in panfrost_bo_mmap()