summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_bo_evict.h
blob: d63eb3fc5cc914ca75d19cd719fa028d2d6e8ea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2022 Intel Corporation
 */

#ifndef _XE_BO_EVICT_H_
#define _XE_BO_EVICT_H_

struct xe_device;

int xe_bo_evict_all(struct xe_device *xe);
int xe_bo_restore_early(struct xe_device *xe);
int xe_bo_restore_late(struct xe_device *xe);

void xe_bo_pci_dev_remove_all(struct xe_device *xe);

int xe_bo_pinned_init(struct xe_device *xe);
#endif