]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd: Skip power ungate during suspend for VPE
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 18 Nov 2025 13:18:10 +0000 (07:18 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Nov 2025 23:08:36 +0000 (18:08 -0500)
commit31ab31433c9bd2f255c48dc6cb9a99845c58b1e4
treec306300a849dd5ceead1277e2e14289213f9437c
parent9eb00b5f5697bd56baa3222c7a1426fa15bacfb5
drm/amd: Skip power ungate during suspend for VPE

During the suspend sequence VPE is already going to be power gated
as part of vpe_suspend().  It's unnecessary to call during calls to
amdgpu_device_set_pg_state().

It actually can expose a race condition with the firmware if s0i3
sequence starts as well.  Drop these calls.

Cc: Peyton.Lee@amd.com
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 2a6c826cfeedd7714611ac115371a959ead55bda)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c