drm/amdgpu: conduct a proper cleanup of PDB bo
authorGuchun Chen <guchun.chen@amd.com>
Tue, 15 Mar 2022 06:59:28 +0000 (14:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 07:34:14 +0000 (09:34 +0200)
commit5a3b56a4a1c79111bc4aaa9caba5eb5e9cfaeaeb
tree83808409e726c03539fce1aca8437cfce70a3bae
parent01dcda701fefd8259b8a9518135730be08c2bad5
drm/amdgpu: conduct a proper cleanup of PDB bo

[ Upstream commit 2d505453f38e18d42ba7d5428aaa17aaa7752c65 ]

Use amdgpu_bo_free_kernel instead of amdgpu_bo_unref to
perform a proper cleanup of PDB bo.

v2: update subject to be more accurate

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c