Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Ma Jun and committed by
Alex Deucher
f435b515 21db6199

+3
+3
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
··· 1528 1528 */ 1529 1529 void amdgpu_choose_low_power_state(struct amdgpu_device *adev) 1530 1530 { 1531 + if (adev->in_runpm) 1532 + return; 1533 + 1531 1534 if (amdgpu_acpi_is_s0ix_active(adev)) 1532 1535 adev->in_s0ix = true; 1533 1536 else if (amdgpu_acpi_is_s3_active(adev))