Drop two tables to prevent panic on Intel Sandy Bridge and Ivy Bridge CPUs

This commit is contained in:
Hoang Hong Quan
2024-07-29 19:06:21 +07:00
parent 9cd65ac301
commit d51da2a852

View File

@@ -2953,6 +2953,9 @@ DefinitionBlock ("", "SSDT", 2, "ZPSS", "GPUSPOOF", 0x00001000)
self.battery_status_check(platform)
self.disable_rhub_devices()
self.disable_unsupported_device(unsupported_devices)
if not self.is_intel_hedt_cpu(cpu_codename) and self.utils.contains_any(cpu_data.IntelCPUGenerations, cpu_codename, end=2):
self.dropping_the_table(oemtableid="CpuPm")
self.dropping_the_table(oemtableid="Cpu0Ist")
self.enable_backlight_controls(platform, cpu_codename, integrated_gpu)
self.enable_cpu_power_management(cpu_codename)
self.enable_gpio_device(platform, cpu_manufacturer, touchpad_communication)