1*00c8efc3SThomas Hellström /* SPDX-License-Identifier: MIT */ 2*00c8efc3SThomas Hellström /* 3*00c8efc3SThomas Hellström * Copyright © 2024 Intel Corporation 4*00c8efc3SThomas Hellström */ 5*00c8efc3SThomas Hellström 6*00c8efc3SThomas Hellström #ifndef _XE_SHRINKER_H_ 7*00c8efc3SThomas Hellström #define _XE_SHRINKER_H_ 8*00c8efc3SThomas Hellström 9*00c8efc3SThomas Hellström struct xe_shrinker; 10*00c8efc3SThomas Hellström struct xe_device; 11*00c8efc3SThomas Hellström 12*00c8efc3SThomas Hellström void xe_shrinker_mod_pages(struct xe_shrinker *shrinker, long shrinkable, long purgeable); 13*00c8efc3SThomas Hellström 14*00c8efc3SThomas Hellström struct xe_shrinker *xe_shrinker_create(struct xe_device *xe); 15*00c8efc3SThomas Hellström 16*00c8efc3SThomas Hellström void xe_shrinker_destroy(struct xe_shrinker *shrinker); 17*00c8efc3SThomas Hellström 18*00c8efc3SThomas Hellström #endif 19