]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Revert "drm/amd: Stop evicting resources on APUs in suspend"
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 1 May 2025 17:00:16 +0000 (13:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 May 2025 22:24:04 +0000 (18:24 -0400)
commitd0ce1aaa8531a4a4707711cab5721374751c51b0
tree438ff1cc379df1f102f08f029fa84490a808c905
parentb7e84fb708392b37e5dbb2a95db9b94a0e3f0aa2
Revert "drm/amd: Stop evicting resources on APUs in suspend"

This reverts commit 3a9626c816db901def438dc2513622e281186d39.

This breaks S4 because we end up setting the s3/s0ix flags
even when we are entering s4 since prepare is used by both
flows.  The causes both the S3/s0ix and s4 flags to be set
which breaks several checks in the driver which assume they
are mutually exclusive.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3634
Cc: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit ce8f7d95899c2869b47ea6ce0b3e5bf304b2fff4)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c