drm/amdgpu: Only check for S0ix if AMD_PMC is configured
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Feb 2021 15:21:49 +0000 (10:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Mar 2021 19:17:04 +0000 (14:17 -0500)
commit9598173d14f5bc6f2f3a8617dd63a66d3f1e82f0
tree13f0b1ea01cfb801e533007bd37650d8929ad0b4
parentb6f91fc183f758461b9462cc93e673adbbf95c2d
drm/amdgpu: Only check for S0ix if AMD_PMC is configured

The S0ix check only makes sense if the AMD PMC driver is
present.  We need to use the legacy S3 pathes when the
PMC driver is not present.

Reviewed-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c