AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu/vcn: drop extra cancel_delayed_work_sync()
@ 2025-08-13 19:36 Alex Deucher
  2025-08-20 18:36 ` Alex Deucher
  2025-08-21 14:56 ` Liu, Leo
  0 siblings, 2 replies; 6+ messages in thread
From: Alex Deucher @ 2025-08-13 19:36 UTC (permalink / raw)
  To: amd-gfx; +Cc: Alex Deucher

We already call this in the hw_fini() methods for all
VCN instances, so no need to call it again in
amdgpu_vcn_suspend().

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
index 9a76e11d1c184..fd8ebf4b5a824 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
@@ -357,8 +357,6 @@ int amdgpu_vcn_suspend(struct amdgpu_device *adev, int i)
 	if (adev->vcn.harvest_config & (1 << i))
 		return 0;
 
-	cancel_delayed_work_sync(&adev->vcn.inst[i].idle_work);
-
 	/* err_event_athub and dpc recovery will corrupt VCPU buffer, so we need to
 	 * restore fw data and clear buffer in amdgpu_vcn_resume() */
 	if (in_ras_intr || adev->pcie_reset_ctx.in_link_reset)
-- 
2.50.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-08-21 20:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-13 19:36 [PATCH] drm/amdgpu/vcn: drop extra cancel_delayed_work_sync() Alex Deucher
2025-08-20 18:36 ` Alex Deucher
2025-08-20 19:29   ` Wu, David
2025-08-20 19:43     ` Alex Deucher
2025-08-21 20:12       ` David Wu
2025-08-21 14:56 ` Liu, Leo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox