diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-15 08:22:33 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-07-15 16:12:56 -0700 |
commit | f3b7e1ddc77fad6d31f910a6ed9c33db4b13919e (patch) | |
tree | 2a169e1940f5ea60f4977839f91faa51fe0467b6 /src/gallium/drivers/panfrost/pan_screen.c | |
parent | 74ad5f89f82185bb2a2853d5ec1a59310627a435 (diff) |
panfrost: Stub out panfrost_bo_cache_evict
This destructor will be used to legitimately free the BOs, now that a BO
free with cacheable=0 is only a "fake" free.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_screen.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 27ff0020915..48ffde0d7b1 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -443,6 +443,7 @@ static void panfrost_destroy_screen(struct pipe_screen *pscreen) { struct panfrost_screen *screen = pan_screen(pscreen); + panfrost_bo_cache_evict_all(screen); ralloc_free(screen); } |