drm/amdgpu: free memory partition info on gmc v12 sw_fini

Reset the partition count and free the buffer on gmc v12 sw_fini
during driver unload.

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Le Ma 2026-05-12 20:32:30 +08:00 • committed by Alex Deucher
commit bdf48164b6