drm/amdgpu: Fix the runtime resume failure issue
authorMa Jun <Jun.Ma2@amd.com>
Wed, 21 Feb 2024 09:16:49 +0000 (17:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Feb 2024 17:28:27 +0000 (12:28 -0500)
commitbbfaf2aea7164db59739728d62d9cc91d64ff856
treef512a50439969b57c1eb6245cf12b16f4d807e2f
parent9671761792156f2339627918bafcd713a8a6f777
drm/amdgpu: Fix the runtime resume failure issue

Don't set power state flag when system enter runtime suspend,
or it may cause runtime resume failure issue.

Fixes: 3a9626c816db ("drm/amd: Stop evicting resources on APUs in suspend")
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c