Skip to content

Commit 698981f

Browse files
1Naimvnepogodin
andcommitted
cpu_opt_mode: Sync values with PKGBUILD
6.15 removed a bunch of different CPU configurations. The only valid configs are now v1-4 x86_64, zen4, and native. Co-authored-by: Vladislav Nepogodin <nepogodin.vlad@gmail.com> Signed-off-by: Eric Naim <dnaim@cachyos.org>
1 parent b563dd2 commit 698981f

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

src/conf-window.cpp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ GENERATE_CONST_LOOKUP_OPTION_VALUES(tickless_mode, "full", "idle", "perodic")
105105
GENERATE_CONST_LOOKUP_OPTION_VALUES(preempt_mode, "full", "lazy", "voluntary", "none")
106106
GENERATE_CONST_LOOKUP_OPTION_VALUES(lto_mode, "none", "full", "thin")
107107
GENERATE_CONST_LOOKUP_OPTION_VALUES(hugepage_mode, "always", "madvise")
108-
GENERATE_CONST_LOOKUP_OPTION_VALUES(cpu_opt_mode, "manual", "generic", "native_amd", "native_intel", "zen", "zen2", "zen3", "sandybridge", "ivybridge", "haswell", "icelake", "tigerlake", "alderlake")
108+
GENERATE_CONST_LOOKUP_OPTION_VALUES(cpu_opt_mode, "manual", "native", "generic", "generic_v2", "generic_v3", "generic_v4", "zen4")
109109

110110
// NOLINTEND(cppcoreguidelines-macro-usage)
111111

@@ -515,12 +515,10 @@ ConfWindow::ConfWindow(QWidget* parent)
515515
/* clang-format off */
516516
QStringList cpu_optims;
517517
cpu_optims << "Disabled"
518-
<< "Generic"
519-
<< "Native AMD"
520-
<< "Native Intel"
521-
<< "Zen" << "Zen2" << "Zen3"
522-
<< "Sandy Bridge" << "Ivy Bridge" << "Haswell"
523-
<< "Icelake" << "Tiger Lake" << "Alder Lake";
518+
<< "Native CPU"
519+
<< "Generic / x86_64"
520+
<< "x86_64_v2" << "x86_64_v3" << "x86_64_v4"
521+
<< "Zen4";
524522
options_page_ui_obj->processor_opt_combo_box->addItems(cpu_optims);
525523
/* clang-format on */
526524

0 commit comments

Comments
 (0)