···29302930/**29312931 * xe_bo_evict - Evict an object to evict placement29322932 * @bo: The buffer object to migrate.29332933- * @force_alloc: Set force_alloc in ttm_operation_ctx29342933 *29352934 * On successful completion, the object memory will be moved to evict29362935 * placement. This function blocks until the object has been fully moved.29372936 *29382937 * Return: 0 on success. Negative error code on failure.29392938 */29402940-int xe_bo_evict(struct xe_bo *bo, bool force_alloc)29392939+int xe_bo_evict(struct xe_bo *bo)29412940{29422941 struct ttm_operation_ctx ctx = {29432942 .interruptible = false,29442943 .no_wait_gpu = false,29452945- .force_alloc = force_alloc,29462944 .gfp_retry_mayfail = true,29472945 };29482946 struct ttm_placement placement;
···172172 * @gfp_retry_mayfail: Set the __GFP_RETRY_MAYFAIL when allocation pages.173173 * @allow_res_evict: Allow eviction of reserved BOs. Can be used when multiple174174 * BOs share the same reservation object.175175- * @force_alloc: Don't check the memory account during suspend or CPU page176175 * faults. Should only be used by TTM internally.177176 * @resv: Reservation object to allow reserved evictions with.178177 * @bytes_moved: Statistics on how many bytes have been moved.···184185 bool no_wait_gpu;185186 bool gfp_retry_mayfail;186187 bool allow_res_evict;187187- bool force_alloc;188188 struct dma_resv *resv;189189 uint64_t bytes_moved;190190};