drm/amd: add support to check whether the system is set to s3
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 26 Jan 2022 03:35:09 +0000 (21:35 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Feb 2022 23:35:00 +0000 (18:35 -0500)
commitf52a2b8badbd24faf73a13c9c07fdb9d07352944
tree126bd84a7a849d53cffc42fb9b636516a11bc37a
parenta6ed2035878e5ad2e43ed175d8812ac9399d6c40
drm/amd: add support to check whether the system is set to s3

This will be used to help make decisions on what to do in
misconfigured systems.

v2: squash in semicolon fix from Stephen Rothwell

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.h
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c