xref: /linux/drivers/gpu/drm/xe/xe_shrinker.h (revision 260f6f4fda93c8485c8037865c941b42b9cba5d2)
100c8efc3SThomas Hellström /* SPDX-License-Identifier: MIT */
200c8efc3SThomas Hellström /*
300c8efc3SThomas Hellström  * Copyright © 2024 Intel Corporation
400c8efc3SThomas Hellström  */
500c8efc3SThomas Hellström 
600c8efc3SThomas Hellström #ifndef _XE_SHRINKER_H_
700c8efc3SThomas Hellström #define _XE_SHRINKER_H_
800c8efc3SThomas Hellström 
900c8efc3SThomas Hellström struct xe_shrinker;
1000c8efc3SThomas Hellström struct xe_device;
1100c8efc3SThomas Hellström 
1200c8efc3SThomas Hellström void xe_shrinker_mod_pages(struct xe_shrinker *shrinker, long shrinkable, long purgeable);
1300c8efc3SThomas Hellström 
14*5dd933e3SThomas Hellström int xe_shrinker_create(struct xe_device *xe);
1500c8efc3SThomas Hellström 
1600c8efc3SThomas Hellström #endif
17