]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd: Explicitly check for GFXOFF to be enabled for s0ix
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 9 Nov 2023 17:23:46 +0000 (11:23 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Nov 2023 16:08:20 +0000 (11:08 -0500)
commite4c44b1a19625348fc004ce8c5f828d5d80d037e
tree08588e0688af125e7afd44c47f0ea5f8b94d321d
parent197264284303b30b26e885d83680f594e69840e5
drm/amd: Explicitly check for GFXOFF to be enabled for s0ix

If a user has disabled GFXOFF this may cause problems for the suspend
sequence.  Ensure that it is enabled in amdgpu_acpi_is_s0ix_active().

The system won't reach the deepest state but it also won't hang.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c