]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix hive reference count leak
authorVignesh Chander <Vignesh.Chander@amd.com>
Fri, 9 Sep 2022 13:28:46 +0000 (09:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:32:57 +0000 (14:32 -0400)
commit150c55c085db19ee0f59d63c7b493d78339d94c3
treebfb48dde82fd076f6d0e7f5abbb71a156572c04e
parent2af01e7834092b5b0ad3144603ba2620d1c12c0a
drm/amdgpu: Fix hive reference count leak

both get_xgmi_hive and put_xgmi_hive can be skipped since the
reset domain is not necessary for VF

Signed-off-by: Vignesh Chander <Vignesh.Chander@amd.com>
Reviewed-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c