If the mainboard supports increasing GPU Bar sizes, this option is typically enabled by default

This commit is contained in:
Hoang Hong Quan
2024-08-18 09:30:29 +07:00
parent 0506fb6711
commit 768e67898d

View File

@@ -39,8 +39,7 @@ class ConfigProdigy:
not self.utils.contains_any(chipset_data.IntelChipsets, motherboard_chipset, start=49, end=60) is None
def check_resizable_bar_support(self, motherboard_chipset, cpu_codename, discrete_gpu):
return discrete_gpu and not (self.utils.contains_any(chipset_data.AMDChipsets, motherboard_chipset) is None or \
self.utils.contains_any(cpu_data.IntelCPUGenerations, cpu_codename, start=10) is None)
return discrete_gpu and (not self.utils.contains_any(chipset_data.AMDChipsets, motherboard_chipset) is None or not self.utils.contains_any(cpu_data.IntelCPUGenerations, cpu_codename, start=10) is None)
def is_low_end_intel_cpu(self, processor_name):
return any(brand in processor_name for brand in ["Celeron", "Pentium"])