mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 03:28:09 +02:00
freedreno: Don't leak LRZ bo's
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6900>
This commit is contained in:
parent
7454ae4ea6
commit
16a3a56321
1 changed files with 2 additions and 0 deletions
|
|
@ -804,6 +804,8 @@ fd_resource_destroy(struct pipe_screen *pscreen,
|
|||
fd_bc_invalidate_resource(rsc, true);
|
||||
if (rsc->bo)
|
||||
fd_bo_del(rsc->bo);
|
||||
if (rsc->lrz)
|
||||
fd_bo_del(rsc->lrz);
|
||||
if (rsc->scanout)
|
||||
renderonly_scanout_destroy(rsc->scanout, fd_screen(pscreen)->ro);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue