etnaviv: Release screen->dummy_desc_reloc.bo

We are currently trying to release twice the same dummy BO, while
leaking the other one.

Fixes: bca5ef70a4 ("etnaviv: split dummy RT backing store from reloc")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34627>
(cherry picked from commit 63251d43ae433e1cdaceb8ca4d1bc897987d3df0)
This commit is contained in:
Tomeu Vizoso
2025-04-15 09:35:28 +02:00
committed by Eric Engestrom
parent b9ed912660
commit e38631ad0a
2 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@
"description": "etnaviv: Release screen->dummy_desc_reloc.bo",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "bca5ef70a436380d1b6cb0f5bd84f1872cabc5e5",
"notes": null

View File

@@ -95,8 +95,8 @@ etna_screen_destroy(struct pipe_screen *pscreen)
if (screen->dummy_bo)
etna_bo_del(screen->dummy_bo);
if (screen->dummy_rt_reloc.bo)
etna_bo_del(screen->dummy_rt_reloc.bo);
if (screen->dummy_desc_reloc.bo)
etna_bo_del(screen->dummy_desc_reloc.bo);
if (screen->perfmon)
etna_perfmon_del(screen->perfmon);