mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
etnaviv: free pm queries dynarray on screen destroy
CC: mesa-stable
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20940>
(cherry picked from commit c59369005b)
This commit is contained in:
parent
d5d88aa190
commit
480b9ff46e
2 changed files with 3 additions and 1 deletions
|
|
@ -4495,7 +4495,7 @@
|
|||
"description": "etnaviv: free pm queries dynarray on screen destroy",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -94,6 +94,8 @@ etna_screen_destroy(struct pipe_screen *pscreen)
|
|||
if (screen->perfmon)
|
||||
etna_perfmon_del(screen->perfmon);
|
||||
|
||||
util_dynarray_fini(&screen->supported_pm_queries);
|
||||
|
||||
etna_shader_screen_fini(pscreen);
|
||||
|
||||
if (screen->pipe)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue