diff options
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_bo_cache.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_bo_cache.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_bo_cache.c b/src/gallium/drivers/panfrost/pan_bo_cache.c index 3804592b41d..d0ca99da136 100644 --- a/src/gallium/drivers/panfrost/pan_bo_cache.c +++ b/src/gallium/drivers/panfrost/pan_bo_cache.c @@ -47,4 +47,17 @@ panfrost_bo_cache_put( return false; } +/* Evicts all BOs from the cache. Called during context + * destroy or during low-memory situations (to free up + * memory that may be unused by us just sitting in our + * cache, but still reserved from the perspective of the + * OS) */ + +void +panfrost_bo_cache_evict_all( + struct panfrost_screen *screen) +{ + /* Stub */ + return; +} |