Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright © 2022 Intel Corporation
4 */
5
6#ifndef _XE_BO_EVICT_H_
7#define _XE_BO_EVICT_H_
8
9struct xe_device;
10
11int xe_bo_evict_all(struct xe_device *xe);
12int xe_bo_evict_all_user(struct xe_device *xe);
13int xe_bo_notifier_prepare_all_pinned(struct xe_device *xe);
14void xe_bo_notifier_unprepare_all_pinned(struct xe_device *xe);
15int xe_bo_restore_early(struct xe_device *xe);
16int xe_bo_restore_late(struct xe_device *xe);
17
18void xe_bo_pci_dev_remove_all(struct xe_device *xe);
19
20int xe_bo_pinned_init(struct xe_device *xe);
21#endif