]> git.ipfire.org Git - thirdparty/linux.git/commit
Reapply "Revert "drm/amd: Skip power ungate during suspend for VPE""
authorMario Limonciello (AMD) <superm1@kernel.org>
Sun, 30 Nov 2025 01:46:31 +0000 (19:46 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Jan 2026 22:24:16 +0000 (17:24 -0500)
commit6b2989ac5e8c496c1814d7961bee6f2d05382b3e
tree27d64503965c5439a2c3e330187e2c01c9f1ceb0
parenteb236fb911ca0f4243124d8a285ec0453a99a8b4
Reapply "Revert "drm/amd: Skip power ungate during suspend for VPE""

Skipping power ungate exposed some scenarios that will fail
like below:

```
amdgpu: Register(0) [regVPEC_QUEUE_RESET_REQ] failed to reach value 0x00000000 != 0x00000001n
amdgpu 0000:c1:00.0: amdgpu: VPE queue reset failed
...
amdgpu: [drm] *ERROR* wait_for_completion_timeout timeout!
```

The underlying s2idle issue that prompted this commit is going to
be fixed in BIOS.
This reverts commit 2a6c826cfeedd7714611ac115371a959ead55bda.

This was lost in the 6.19 merge so reapply it.

Fixes: 2a6c826cfeed ("drm/amd: Skip power ungate during suspend for VPE")
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reported-by: Konstantin <answer2019@yandex.ru>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220812
Reported-by: Matthew Schwartz <matthew.schwartz@linux.dev>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 3925683515e93844be204381d2d5a1df5de34f31)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c