mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
Make the xe drm shrinker drm managed like many other resources created at device creation time. Signed-off-by: Thomas Hellström <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://lore.kernel.org/r/[email protected]
17 lines
316 B
C
17 lines
316 B
C
/* 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
|