summaryrefslogtreecommitdiff
path: root/sys-kernel/linux/files
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/linux/files')
-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