HD4000 framebuffer experiments. If Method (_DSM.... exist in GFX0 (parent_adr 0x00200000), DSDT Editor adds the new Method (_DSM.... after the existing entry resulting in a compile error: 8273 Error Name already exists in scope (_DSM)
Current patch
into method label _DSM parent_adr 0x00200000 remove_entry;
into device name_adr 0x00020000 insert
begin
Method (_DSM, 4, NotSerialized)\n
{\n
Store (Package (0x02)\n
{\n
"AAPL,ig-platform-id", \n
Buffer (0x04) \n
{ \n
0x0A, 0x00, 0x66, 0x01 \n
}, \n
}, Local0)\n
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n
Return (Local0)\n
}\n
end
Attached is dsdt with the compile error; first patch 0A, second patch 0B.
test.dsl.zip