Work-around Ivy/Haswell idle KP

This commit is contained in:
Mykola Grymalyuk
2022-11-02 20:19:41 -06:00
parent 2ea3933720
commit 4dc14eb9c0
3 changed files with 26 additions and 1 deletions
+5 -1
View File
@@ -511,8 +511,12 @@ class PatchSysVolume:
else:
print(f"- Running Process:\n{process}")
utilities.process_status(subprocess.run(process, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True))
if "AMD Legacy GCN" in required_patches or "AMD Legacy Polaris" in required_patches:
if any(x in required_patches for x in ["AMD Legacy GCN", "AMD Legacy Polaris"]):
sys_patch_helpers.sys_patch_helpers(self.constants).disable_window_server_caching()
if any(x in required_patches for x in ["Nvidia Kepler", "Intel Ivy Bridge", "Intel Haswell"]):
sys_patch_helpers.sys_patch_helpers(self.constants).disable_mediaanalysisd()
self.write_patchset(required_patches)
def preflight_checks(self, required_patches, source_files_path):