]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: fix error handling in amdgpu_vm_init
authorChristian König <christian.koenig@amd.com>
Tue, 31 Oct 2023 14:35:27 +0000 (15:35 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Nov 2023 16:33:28 +0000 (11:33 -0500)
commit8473bfdcb5b1a32fd05629c4535ccacd73bc5567
tree35fb12345d5306e23d64aefea447e796ee794190
parent256503071c2de2b5b5c20e06654aa9a44f13aa62
drm/amdgpu: fix error handling in amdgpu_vm_init

When clearing the root PD fails we need to properly release it again.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c