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>
Mon, 26 Feb 2024 16:11:46 +0000 (11:11 -0500)
commitf435b5156bfae242ea59fd52d0291c0dec6bbfd2
tree244de32235677abf77144e578f9a16badb6e7dee
parent21db6199f201fab18d225cce7d94b5fcbc459bf6
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c