From df9083a348b1f221b8b119e52efa7c6c15b666d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 21 Mar 2018 00:15:29 +0100 Subject: Add Ryzen specific configuration --- sys-kernel/linux/files/amd.config | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'sys-kernel/linux/files') 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 -- cgit v1.2.3