Searched refs:shim_bo (Results 1 – 11 of 11) sorted by relevance
/third_party/mesa3d/src/drm-shim/ |
D | drm_shim.h | 38 struct shim_bo; 56 void (*driver_bo_free)(struct shim_bo *bo); 78 struct shim_bo { struct 97 int drm_shim_bo_init(struct shim_bo *bo, size_t size); argument 98 void drm_shim_bo_get(struct shim_bo *bo); 99 void drm_shim_bo_put(struct shim_bo *bo); 100 struct shim_bo *drm_shim_bo_lookup(struct shim_fd *shim_fd, int handle); 101 int drm_shim_bo_get_handle(struct shim_fd *shim_fd, struct shim_bo *bo); 103 struct shim_bo *bo);
|
D | device.c | 251 struct shim_bo *bo = entry->data; in drm_shim_ioctl_gem_close() 324 drm_shim_bo_init(struct shim_bo *bo, size_t size) in drm_shim_bo_init() 339 struct shim_bo * 348 struct shim_bo *bo = entry ? entry->data : NULL; in drm_shim_bo_lookup() 358 drm_shim_bo_get(struct shim_bo *bo) in drm_shim_bo_get() 364 drm_shim_bo_put(struct shim_bo *bo) in drm_shim_bo_put() 379 drm_shim_bo_get_handle(struct shim_fd *shim_fd, struct shim_bo *bo) in drm_shim_bo_get_handle() 402 drm_shim_bo_get_mmap_offset(struct shim_fd *shim_fd, struct shim_bo *bo) in drm_shim_bo_get_mmap_offset() 420 struct shim_bo *bo = _mesa_hash_table_u64_search(shim_device.offset_map, offset); in drm_shim_mmap()
|
/third_party/mesa3d/src/broadcom/drm-shim/ |
D | v3d_noop.c | 34 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()
|
D | vc4_noop.c | 44 struct shim_bo *bo = calloc(1, sizeof(*bo)); in vc4_ioctl_create_bo() 58 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, map->handle); in vc4_ioctl_mmap_bo()
|
/third_party/mesa3d/src/gallium/drivers/lima/drm-shim/ |
D | lima_noop.c | 65 struct shim_bo *bo = calloc(1, sizeof(*bo)); in lima_ioctl_gem_create() 83 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, gem_info->handle); in lima_ioctl_gem_info()
|
/third_party/mesa3d/src/panfrost/drm-shim/ |
D | panfrost_noop.c | 91 struct shim_bo *bo = calloc(1, sizeof(*bo)); in pan_ioctl_create_bo() 110 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, mmap_bo->handle); in pan_ioctl_mmap_bo()
|
/third_party/mesa3d/src/amd/drm-shim/ |
D | radeon_noop_drm_shim.c | 95 struct shim_bo *bo = calloc(1, sizeof(*bo)); in radeon_ioctl_gem_create() 113 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, mmap_bo->handle); in radeon_ioctl_gem_mmap()
|
/third_party/mesa3d/src/etnaviv/drm-shim/ |
D | etnaviv_noop.c | 166 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()
|
/third_party/mesa3d/src/nouveau/drm-shim/ |
D | nouveau_noop.c | 44 struct shim_bo base; 49 nouveau_shim_bo(struct shim_bo *bo) in nouveau_shim_bo()
|
/third_party/mesa3d/src/freedreno/drm-shim/ |
D | freedreno_noop.c | 59 struct shim_bo *bo = calloc(1, sizeof(*bo)); in msm_ioctl_gem_new() 80 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, args->handle); in msm_ioctl_gem_info()
|
/third_party/mesa3d/src/intel/tools/ |
D | intel_noop_drm_shim.c | 48 struct shim_bo base; 117 struct shim_bo *bo = drm_shim_bo_lookup(shim_fd, mmap_arg->handle); in i915_ioctl_gem_mmap()
|