]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteba87d52a981a99f8c70ea88ee45c21552a1a404
tree13f0b1ea01cfb801e533007bd37650d8929ad0b4
parent7a71a667c141ff6c94f829f204d25be035d858fc
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