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:26:30 +0000 (18:26 -0500)
commit18b66ace6b3acb01b645d2fbbd571f66b2705c71
treee33edff0411b1cae5ea94279750f516782512a45
parentf588a1bbfce781042196e68f8e200f08b3d9e8c4
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