# Note: Most DSDT/SSDTs use GFX0 for the integrated graphics device,# but there are few renegades that use VID or AGP1.# If your DSDT uses VID or AGP1 instead of GFX0, see the # alternate patch "Rename VID/AGP1 to IGPU"
# sometimes there is already IGPU used for other thingsinto_all all code_regex IGPU, replaceall_matched begin IGFX, end;
# rename GFX0 -> IGPU for better power managementinto_all all code_regex GFX0\. replaceall_matched begin IGPU. end;into_all all code_regex \.GFX0 replaceall_matched begin .IGPU end;into_all all code_regex \sGFX0, replaceall_matched begin IGPU, end;into_all all code_regex \(GFX0 replaceall_matched begin (IGPU end;into_all all label GFX0 set_label begin IGPU end;into_all all label _SB.PCI0.GFX0 set_label begin _SB.PCI0.IGPU end;into_all all label \_SB.PCI0.GFX0 set_label begin \_SB.PCI0.IGPU end;into_all all label _SB.PCI0.GFX0.DD02 set_label begin _SB.PCI0.IGPU.DD02 end;into_all all label \_SB.PCI0.GFX0.DD02 set_label begin \_SB.PCI0.IGPU.DD02 end;into_all all label ^^^GFX0 set_label begin ^^^IGPU end;into_all all label ^^GFX0 set_label begin ^^IGPU end;into_all all label ^GFX0 set_label begin ^IGPU end;
復(fù)制代碼
3、對于Haswell/Broadwell集成顯卡:dsdt需要打入補(bǔ)丁 renaming B0D3 to HDAU (device at 0x00030000)
#Maintained by: RehabMan for: Laptop Patches
#graphics_Rename-B0D3.txt
# for DSDT
into method label _WAK code_regex B0D3 replaceall_matched begin HDAU end;
into definitionblock code_regex B0D3 replaceall_matched begin HDAU end;
# for GFX0 SSDT
# Note: Change your layout ID if you need something different
# inject "hda-gfx"="onboard-1" into IGPU (GFX0 originally)
into method label _DSM parent_adr 0x00020000 remove_entry;