Advertisement
kradnozd

RehabMan Rename GFX0 IGPU

Jan 27th, 2015
871
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. #Maintained by: RehabMan for: Laptop Patches
  2. #graphics_Rename-GFX0.txt
  3.  
  4. # Note: Most DSDT/SSDTs use GFX0 for the integrated graphics device,
  5. # but there are few renegades that use VID or AGP1.
  6. # If your DSDT uses VID or AGP1 instead of GFX0, see the
  7. # alternate patch "Rename VID/AGP1 to IGPU"
  8.  
  9. # sometimes there is already IGPU used for other things
  10. into_all all code_regex IGPU, replaceall_matched begin IGFX, end;
  11.  
  12. # rename GFX0 -> IGPU for better power management
  13. into_all all code_regex GFX0\. replaceall_matched begin IGPU. end;
  14. into_all all code_regex \.GFX0 replaceall_matched begin .IGPU end;
  15. into_all all code_regex \sGFX0, replaceall_matched begin IGPU, end;
  16. into_all all code_regex \(GFX0 replaceall_matched begin (IGPU end;
  17. into_all all label GFX0 set_label begin IGPU end;
  18. into_all all label _SB.PCI0.GFX0 set_label begin _SB.PCI0.IGPU end;
  19. into_all all label \_SB.PCI0.GFX0 set_label begin \_SB.PCI0.IGPU end;
  20. into_all all label _SB.PCI0.GFX0.DD02 set_label begin _SB.PCI0.IGPU.DD02 end;
  21. into_all all label \_SB.PCI0.GFX0.DD02 set_label begin \_SB.PCI0.IGPU.DD02 end;
  22. into_all all label ^^GFX0 set_label begin ^^IGPU end;
  23. into_all all label ^GFX0 set_label begin ^IGPU end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement