]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 12:42:23 +0000 (14:42 +0200)
commit90dc05f7c03d5eb96ea8db09778e487a42bd9a05
tree775e4871d36fd401f5403384aff4a1fd525cacfe
parent2b5bf12c1ecb80ec760046020380eeb29b9798a1
drm/amdgpu: conduct a proper cleanup of PDB bo

BugLink: https://bugs.launchpad.net/bugs/1969857
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c