diff options
| author | Willian Oliveira <williandossantosdeoliveira287@gmail.com> | 2026-09-05 10:34:05 -0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-10 12:08:46 -0400 |
| commit | 0a64c644a3e499438502731ca20a1e63e675dd95 (patch) | |
| tree | 215e81b616cadc7be90b7d0e8bac319868c739f8 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 18b642b7cbc098cc49cecaebdab37b5687691feb (diff) | |
| download | linux-0a64c644a3e499438502731ca20a1e63e675dd95.tar.gz linux-0a64c644a3e499438502731ca20a1e63e675dd95.zip | |
drm/amdgpu/gfx8: fix register_list_format leak in gfx_v8_0_init_microcode
gfx_v8_0_init_microcode() allocates rlc.register_list_format before
loading the MEC firmware.
If loading one of the subsequent firmware files fails, the function
returns through the error path without freeing register_list_format.
Use gfx_v8_0_free_microcode() in the error path so all previously
allocated firmware resources, including register_list_format, are
released.
Signed-off-by: Willian Oliveira <williandossantosdeoliveira287@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
