Lines Matching refs:cur_flags
870 uint32_t cur_flags = ttm_bo_type_flags(mem_type); in ttm_bo_mt_compatible() local
872 if ((cur_flags & place->flags & TTM_PL_MASK_MEM) == 0) in ttm_bo_mt_compatible()
878 cur_flags |= (place->flags & man->available_caching); in ttm_bo_mt_compatible()
880 *masked_placement = cur_flags; in ttm_bo_mt_compatible()
900 uint32_t cur_flags = 0; in ttm_bo_mem_space() local
922 &cur_flags); in ttm_bo_mem_space()
928 cur_flags = ttm_bo_select_caching(man, bo->mem.placement, in ttm_bo_mem_space()
929 cur_flags); in ttm_bo_mem_space()
934 ttm_flag_masked(&cur_flags, place->flags, in ttm_bo_mem_space()
956 mem->placement = cur_flags; in ttm_bo_mem_space()
969 if (!ttm_bo_mt_compatible(man, mem_type, place, &cur_flags)) in ttm_bo_mem_space()
973 cur_flags = ttm_bo_select_caching(man, bo->mem.placement, in ttm_bo_mem_space()
974 cur_flags); in ttm_bo_mem_space()
979 ttm_flag_masked(&cur_flags, place->flags, in ttm_bo_mem_space()
984 mem->placement = cur_flags; in ttm_bo_mem_space()
991 mem->placement = cur_flags; in ttm_bo_mem_space()