drm/amdgpu/vcn: Fix double-free of vcn dump buffer

commit 1a0e57eb96 upstream.

The buffer is already freed as part of amdgpu_vcn_reg_dump_fini(). The
issue is introduced by below patch series.

Fixes: de55cbff5c ("drm/amdgpu/vcn: Add regdump helper functions")
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Lijo Lazar 2025-08-05 17:40:09 +05:30 • committed by Greg Kroah-Hartman
commit 300a901dc2
4 changed files with 1 additions and 5 deletions