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

#ifndef _XE_SHRINKER_H_
#define _XE_SHRINKER_H_

struct xe_shrinker;
struct xe_device;

void xe_shrinker_mod_pages(struct xe_shrinker *shrinker, long shrinkable, long purgeable);

int xe_shrinker_create(struct xe_device *xe);

#endif