]> 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>
Thu, 4 Mar 2021 03:46:55 +0000 (22:46 -0500)
commita42e53ef8016255a70255b448ca27e3a509b947d
tree1bd16d49057c7514866a1ac14810426492932f1d
parent3916e826ede8360d14545e62d399ee471075f941
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c