Sometimes Laptop internal display is not detected and need to plug-in HDMI then also only external HDMI being detected (Also changed from ACPIbacklight to Intelbacklight)
Also still getting KP when using BOD3 -> HDAU patch.
Using your patch, I get errors on both DSDT and SSDT-8 as it cannot rename all BOD3
After patch this still remains in DSDT,
If (LAnd (LNotEqual (And (\_SB.PCI0.B0D3.ABAR, 0xFFFFC004), 0xFFFFC004), LNotEqual (And (\_SB.PCI0.B0D3.ABAR, 0xFFFFC000), Zero)))
{
Store (\_SB.PCI0.B0D3.ABAR, \_SB.PCI0.B0D3.BARA)
}
and I get error as BOD3 is not found.
In SSDT-8 also your patch couldnt rename scope,
Scope (\_SB.PCI0.B0D3) remains after patch.
So, I modified the patch & added few lines:
Patch:
into method label _WAK code_regex B0D3 replaceall_matched begin HDAU end;
into definitionblock code_regex B0D3 replaceall_matched begin HDAU end;
nto_all all code_regex B0D3\. replaceall_matched begin HDAU. end;
into_all all code_regex \.B0D3 replaceall_matched begin .HDAU end;
into_all all code_regex \sB0D3, replaceall_matched begin HDAU, end;
into_all all code_regex \(B0D3 replaceall_matched begin (HDAU end;
into_all all label B0D3 set_label begin HDAU end;
into_all all label _SB.PCI0.B0D3 set_label begin _SB.PCI0.HDAU end;
into_all all label \_SB.PCI0.B0D3 set_label begin \_SB.PCI0.HDAU end;
into_all all label ^^B0D3 set_label begin ^^HDAU end;
into_all all label ^B0D3 set_label begin ^HDAU end;
into method label _DSM parent_adr 0x00020000 remove_entry;
into device name_adr 0x00020000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"hda-gfx", Buffer() { "onboard-1" },\n
})\n
}\n
end
into method label _DSM parent_adr 0x00030000 remove_entry;
into device name_adr 0x00030000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"layout-id", Buffer() { 0x0D, 0x00, 0x00, 0x00 },\n
"hda-gfx", Buffer() { "onboard-1" },\n
})\n
}\n
end;
into device label B0D3 set_label begin HDAU end;
into method label SBCB code_regex B0D3 replaceall_matched begin HDAU end;
After this patch I didn't get error but am Still getting KP from IGPU(Screenshot attached).
Clover folder attached.(renamed in DSDT and SSDT-8).
Also attaching pre-bod3 patch dsl's for your reference.