diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2023-07-13 08:14:59 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-21 23:52:25 +0300 |
| commit | 6b4cf4a35f6b89d75524c8d8751c558369ad2e6d (patch) | |
| tree | fec8d722f3816146463b23487fca078f804f0fe6 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 9196b63beeaf3e443417107fdbdff85cf4ab4a96 (diff) | |
| download | linux-6b4cf4a35f6b89d75524c8d8751c558369ad2e6d.tar.xz | |
drm/amd: Fix an error handling mistake in psp_sw_init()
If the second call to amdgpu_bo_create_kernel() fails, the memory
allocated from the first call should be cleared. If the third call
fails, the memory from the second call should be cleared.
Fixes: b95b5391684b ("drm/amdgpu/psp: move PSP memory alloc from hw_init to sw_init")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
