Lines Matching refs:use_flags
313 uint64_t use_flags = BO_USE_RENDER_MASK; in amdgpu_init() local
350 &metadata, use_flags); in amdgpu_init()
394 use_flags &= ~BO_USE_RENDERSCRIPT; in amdgpu_init()
395 use_flags &= ~BO_USE_SW_WRITE_OFTEN; in amdgpu_init()
396 use_flags &= ~BO_USE_SW_READ_OFTEN; in amdgpu_init()
397 use_flags &= ~BO_USE_LINEAR; in amdgpu_init()
403 &metadata, use_flags); in amdgpu_init()
427 uint64_t use_flags) in amdgpu_create_bo_linear() argument
456 if (use_flags & (BO_USE_HW_VIDEO_DECODER | BO_USE_HW_VIDEO_ENCODER)) in amdgpu_create_bo_linear()
466 if (use_flags & (BO_USE_LINEAR | BO_USE_SW_MASK)) in amdgpu_create_bo_linear()
474 if ((use_flags & BO_USE_SCANOUT) || !(use_flags & BO_USE_SW_READ_OFTEN)) in amdgpu_create_bo_linear()
478 if (use_flags & BO_USE_PROTECTED) in amdgpu_create_bo_linear()
496 uint64_t use_flags) in amdgpu_create_bo() argument
501 combo = drv_get_combination(bo->drv, format, use_flags); in amdgpu_create_bo()
515 if (use_flags & (BO_USE_SW_MASK)) in amdgpu_create_bo()
519 if (use_flags & (BO_USE_SCANOUT) && priv->dev_info.family == AMDGPU_FAMILY_CZ) in amdgpu_create_bo()
527 return dri_bo_create(bo, width, height, format, use_flags); in amdgpu_create_bo()
530 return amdgpu_create_bo_linear(bo, width, height, format, use_flags); in amdgpu_create_bo()
554 combo = drv_get_combination(bo->drv, data->format, data->use_flags); in amdgpu_import_bo()