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)
commit2efc30f0161b064f6918316ecd486a8e3feee10e
treebfb48dde82fd076f6d0e7f5abbb71a156572c04e
parent3a876060892ba52dd67d197c78b955e62657d906
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