Lines Matching refs:use_flags
194 struct combination *drv_get_combination(struct driver *drv, uint32_t format, uint64_t use_flags) in drv_get_combination() argument
198 if (format == DRM_FORMAT_NONE || use_flags == BO_USE_NONE) in drv_get_combination()
205 if ((format == curr->format) && use_flags == (curr->use_flags & use_flags)) in drv_get_combination()
214 uint64_t use_flags, bool is_test_buffer) in drv_bo_new() argument
227 bo->meta.use_flags = use_flags; in drv_bo_new()
240 uint64_t use_flags) in drv_bo_create() argument
247 is_test_alloc = use_flags & BO_USE_TEST_ALLOC; in drv_bo_create()
248 use_flags &= ~BO_USE_TEST_ALLOC; in drv_bo_create()
250 bo = drv_bo_new(drv, width, height, format, use_flags, is_test_alloc); in drv_bo_create()
257 ret = drv->backend->bo_compute_metadata(bo, width, height, format, use_flags, NULL, in drv_bo_create()
262 ret = drv->backend->bo_create(bo, width, height, format, use_flags); in drv_bo_create()
366 bo = drv_bo_new(drv, data->width, data->height, data->format, data->use_flags, false); in drv_bo_import()
428 assert(!(bo->meta.use_flags & BO_USE_PROTECTED)); in drv_bo_map()
554 assert(!(bo->meta.use_flags & BO_USE_PROTECTED)); in drv_bo_flush_or_unmap()
642 uint32_t drv_resolve_format(struct driver *drv, uint32_t format, uint64_t use_flags) in drv_resolve_format() argument
645 return drv->backend->resolve_format(drv, format, use_flags); in drv_resolve_format()