]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu/vcn: Fix double-free of vcn dump buffer
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 5 Aug 2025 12:10:09 +0000 (17:40 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Aug 2025 18:21:16 +0000 (14:21 -0400)
commit1a0e57eb96c3fca338665ffd7d9b59f351e5fea7
tree3b657b2ccb5501e7d8c791e31b15d158e7d6a247
parentc5c62160a540db7d7e746e498fea91c35507d775
drm/amdgpu/vcn: Fix double-free of vcn dump buffer

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

Fixes: de55cbff5ce9 ("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>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c