Home
last modified time | relevance | path

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

/external/mesa3d/src/drm-shim/
Ddrm_shim.h38 struct shim_bo;
53 void (*driver_bo_free)(struct shim_bo *bo);
70 struct shim_bo { struct
88 void drm_shim_bo_init(struct shim_bo *bo, size_t size); argument
89 void drm_shim_bo_get(struct shim_bo *bo);
90 void drm_shim_bo_put(struct shim_bo *bo);
91 struct shim_bo *drm_shim_bo_lookup(struct shim_fd *shim_fd, int handle);
92 int drm_shim_bo_get_handle(struct shim_fd *shim_fd, struct shim_bo *bo);
94 struct shim_bo *bo);
Ddevice.c196 struct shim_bo *bo = entry->data; in drm_shim_ioctl_gem_close()
268 drm_shim_bo_init(struct shim_bo *bo, size_t size) in drm_shim_bo_init()
279 struct shim_bo *
288 struct shim_bo *bo = entry ? entry->data : NULL; in drm_shim_bo_lookup()
298 drm_shim_bo_get(struct shim_bo *bo) in drm_shim_bo_get()
304 drm_shim_bo_put(struct shim_bo *bo) in drm_shim_bo_put()
319 drm_shim_bo_get_handle(struct shim_fd *shim_fd, struct shim_bo *bo) in drm_shim_bo_get_handle()
349 drm_shim_bo_get_mmap_offset(struct shim_fd *shim_fd, struct shim_bo *bo) in drm_shim_bo_get_mmap_offset()
361 struct shim_bo *bo = (void *)(uintptr_t)offset; in drm_shim_mmap()
/external/mesa3d/src/broadcom/drm-shim/
Dv3d_noop.c34 struct shim_bo base;
39 v3d_bo(struct shim_bo *bo) in v3d_bo()
84 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, args->handle); in v3d_ioctl_get_bo_offset()
98 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, map->handle); in v3d_ioctl_mmap_bo()
Dv3d.h49 struct shim_bo base;
56 v3d_bo(struct shim_bo *bo) in v3d_bo()
Dv3dx.c344 v3d_bo_free(struct shim_bo *shim_bo) in v3d_bo_free() argument
346 struct v3d_bo *bo = v3d_bo(shim_bo); in v3d_bo_free()
349 munmap(bo->gem_vaddr, shim_bo->size); in v3d_bo_free()
Dv3d.c57 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, map->handle); in v3d_ioctl_mmap_bo()
/external/mesa3d/src/freedreno/drm-shim/
Dfreedreno_noop.c34 struct shim_bo base;
39 msm_bo(struct shim_bo *bo) in msm_bo()
92 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, args->handle); in msm_ioctl_gem_info()
/external/mesa3d/src/etnaviv/drm-shim/
Detnaviv_noop.c166 struct shim_bo *bo = calloc(1, sizeof(*bo)); in etnaviv_ioctl_gem_new()
180 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, args->handle); in etnaviv_ioctl_gem_info()
/external/mesa3d/src/intel/tools/
Dintel_noop_drm_shim.c48 struct shim_bo base;
82 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, mmap_arg->handle); in i915_ioctl_gem_mmap()