[PATCH 2/2] drm/amdgpu: remove unsued vcn_v3_0_hw_fini
James Zhu
James.Zhu at amd.com
Mon May 17 14:57:08 UTC 2021
Removed unsued vcn_v3_0_hw_fini when enhanced
common amdgpu_vicn_suspend is applied.
Signed-off-by: James Zhu <James.Zhu at amd.com>
---
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
index cf165ab..e7505ec 100644
--- a/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
@@ -411,10 +411,6 @@ static int vcn_v3_0_suspend(void *handle)
int r;
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
- r = vcn_v3_0_hw_fini(adev);
- if (r)
- return r;
-
r = amdgpu_vcn_suspend(adev);
return r;
--
2.7.4
More information about the amd-gfx
mailing list