]> git.baikalelectronics.ru Git - 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)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Mar 2022 16:40:24 +0000 (12:40 -0400)
commitb1f904c9d586cb349c3e2d4e1ada9fbc162827cf
treecb7f1d52a11db09200e34414202f7327e2206ee4
parent196b510fc93943c7069ff11dd8780d232f1b09c8
drm/amdgpu: conduct a proper cleanup of PDB bo

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>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c