Set CONFIG_AMD_PMC. We don't have the corresponding driver just yet, but
authorkettenis <kettenis@openbsd.org>
Fri, 16 Aug 2024 10:49:57 +0000 (10:49 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 16 Aug 2024 10:49:57 +0000 (10:49 +0000)
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

index 9c8565e..0c3150c 100644 (file)
@@ -36,6 +36,7 @@
 #if NACPI > 0
 #define CONFIG_ACPI                            1
 #define CONFIG_ACPI_SLEEP                      1
+#define CONFIG_AMD_PMC                         1
 #endif
 #endif