panfrost: Stub out panfrost_bo_cache_put

..so we can intercept the BO free.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig
2019-07-15 08:19:53 -07:00
parent b5a28f61ae
commit 74ad5f89f8
4 changed files with 34 additions and 3 deletions

View File

@@ -445,7 +445,7 @@ panfrost_bo_unreference(struct pipe_screen *screen, struct panfrost_bo *bo)
/* When the reference count goes to zero, we need to cleanup */
if (pipe_reference(&bo->reference, NULL))
panfrost_drm_release_bo(pan_screen(screen), bo);
panfrost_drm_release_bo(pan_screen(screen), bo, true);
}
static void