Lines Matching defs:flags
99 bo_new(struct fd_device *dev, uint32_t size, uint32_t flags,
105 if ((flags & FD_BO_CACHED_COHERENT) && !dev->has_cached_coherent)
106 flags &= ~FD_BO_CACHED_COHERENT;
108 bo = fd_bo_cache_alloc(cache, &size, flags);
112 bo = dev->funcs->bo_new(dev, size, flags);
121 bo->alloc_flags = flags;
131 _fd_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags)
133 struct fd_bo *bo = bo_new(dev, size, flags, &dev->bo_cache);
153 uint32_t flags = FD_BO_GPUREADONLY | FD_BO_CACHED_COHERENT;
154 struct fd_bo *bo = bo_new(dev, size, flags, &dev->ring_cache);