Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 807223
Collapse All | Expand All

(-)a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c (-2 / +1 lines)
Lines 1040-1046 void amdgpu_acpi_detect(void) Link Here
1040
 */
1040
 */
1041
bool amdgpu_acpi_is_s0ix_supported(struct amdgpu_device *adev)
1041
bool amdgpu_acpi_is_s0ix_supported(struct amdgpu_device *adev)
1042
{
1042
{
1043
#if defined(CONFIG_AMD_PMC) || defined(CONFIG_AMD_PMC_MODULE)
1043
#if IS_ENABLED(CONFIG_AMD_PMC) && IS_ENABLED(CONFIG_PM_SLEEP)
1044
	if (acpi_gbl_FADT.flags & ACPI_FADT_LOW_POWER_S0) {
1044
	if (acpi_gbl_FADT.flags & ACPI_FADT_LOW_POWER_S0) {
1045
		if (adev->flags & AMD_IS_APU)
1045
		if (adev->flags & AMD_IS_APU)
1046
			return pm_suspend_target_state == PM_SUSPEND_TO_IDLE;
1046
			return pm_suspend_target_state == PM_SUSPEND_TO_IDLE;
1047
- 

Return to bug 807223