drm/amdgpu: fix S0ix handling when the CONFIG_AMD_PMC=m
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Mar 2021 03:58:47 +0000 (22:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:25:27 +0000 (23:25 -0400)
commite3e984ee437a251e36fae1bdd0a1f283ead7f20f
tree311e0bae1821e936b2385939dfbbcff634db4aea
parent8b1c715fc8c1240ccc00d0376626f0ebac074ffc
drm/amdgpu: fix S0ix handling when the CONFIG_AMD_PMC=m

Need to check the module variant as well.

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