From a9c690c879c4a5ae4462b0b2dfc265917310e9d3 Mon Sep 17 00:00:00 2001 From: kettenis Date: Fri, 16 Aug 2024 10:49:57 +0000 Subject: [PATCH] Set CONFIG_AMD_PMC. We don't have the corresponding driver just yet, but it seems that Linux is just overcautious in disabling S0 suspend when the driver isn't included in the kernel config. And we plan to implement the driver soon anyway. ok jsg@ --- sys/dev/pci/drm/include/generated/autoconf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/pci/drm/include/generated/autoconf.h b/sys/dev/pci/drm/include/generated/autoconf.h index 9c8565e7862..0c3150cf7df 100644 --- a/sys/dev/pci/drm/include/generated/autoconf.h +++ b/sys/dev/pci/drm/include/generated/autoconf.h @@ -36,6 +36,7 @@ #if NACPI > 0 #define CONFIG_ACPI 1 #define CONFIG_ACPI_SLEEP 1 +#define CONFIG_AMD_PMC 1 #endif #endif -- 2.20.1