Lines Matching refs:use_flags
49 uint64_t use_flags = BO_USE_RENDER_MASK; in amdgpu_init() local
77 &metadata, use_flags); in amdgpu_init()
105 use_flags &= ~BO_USE_RENDERSCRIPT; in amdgpu_init()
106 use_flags &= ~BO_USE_SW_WRITE_OFTEN; in amdgpu_init()
107 use_flags &= ~BO_USE_SW_READ_OFTEN; in amdgpu_init()
108 use_flags &= ~BO_USE_LINEAR; in amdgpu_init()
114 &metadata, use_flags); in amdgpu_init()
131 uint64_t use_flags) in amdgpu_create_bo() argument
139 combo = drv_get_combination(bo->drv, format, use_flags); in amdgpu_create_bo()
144 return dri_bo_create(bo, width, height, format, use_flags); in amdgpu_create_bo()
159 if (use_flags & (BO_USE_LINEAR | BO_USE_SW)) in amdgpu_create_bo()
163 if (!(use_flags & (BO_USE_SW_READ_OFTEN | BO_USE_SCANOUT))) in amdgpu_create_bo()
187 combo = drv_get_combination(bo->drv, data->format, data->use_flags); in amdgpu_import_bo()
236 static uint32_t amdgpu_resolve_format(uint32_t format, uint64_t use_flags) in amdgpu_resolve_format() argument
241 if (use_flags & (BO_USE_CAMERA_READ | BO_USE_CAMERA_WRITE)) in amdgpu_resolve_format()