summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-03-21 00:15:29 +0100
committerKarel Kočí <cynerd@email.cz>2018-03-21 00:22:19 +0100
commitdf9083a348b1f221b8b119e52efa7c6c15b666d1 (patch)
treedeeb2bf0cc925f63081ddb526267573fa1b3a3f9
parent1d1db2f0e92c53673e3f803a416e2f91ddee4933 (diff)
downloadgentoo-personal-overlay-df9083a348b1f221b8b119e52efa7c6c15b666d1.tar.gz
gentoo-personal-overlay-df9083a348b1f221b8b119e52efa7c6c15b666d1.tar.bz2
gentoo-personal-overlay-df9083a348b1f221b8b119e52efa7c6c15b666d1.zip
Add Ryzen specific configuration
-rw-r--r--sys-kernel/linux/files/amd.config19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-kernel/linux/files/amd.config b/sys-kernel/linux/files/amd.config
index e715ff1..a6e42e6 100644
--- a/sys-kernel/linux/files/amd.config
+++ b/sys-kernel/linux/files/amd.config
@@ -2,6 +2,24 @@
CONFIG_LOGO=n
CONFIG_LOCALVERSION=""
+# Ryzen specific
+CONFIG_MK8=y
+CONFIG_PROCESSOR_SELECT=y
+CONFIG_PERF_EVENTS_AMD_POWER=y
+CONFIG_X86_PCC_CPUFREQ=y
+CONFIG_X86_ACPI_CPUFREQ=y
+CONFIG_X86_POWERNOW_K8=y
+CONFIG_X86_AMD_FREQ_SENSITIVITY=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_AMD_IOMMU_V2=y
+# Disable suport for some other processors
+CONFIG_CPU_SUP_INTEL=n
+CONFIG_CPU_SUP_CENTAUR=n
+CONFIG_MICROCODE_INTEL=n
+CONFIG_X86_INTEL_PSTATE=n
+CONFIG_X86_P4_CLOCKMOD=n
+CONFIG_INTEL_IOMMU=n
+
# Disable nouveau, radeon and intel
CONFIG_DRM_NOUVEAU=n
CONFIG_DRM_RADEON=n
@@ -54,6 +72,7 @@ CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=1024
CONFIG_AGP=y
CONFIG_DRM=y
CONFIG_DRM_AMDGPU=y
+CONFIG_HSA_AMD=y
# VFIO (gpu passtrough)
CONFIG_VFIO=y