Comment 109 for bug 312756

Revision history for this message
Albert Vilella (avilella) wrote : Re: support graphics card hot switch

@Eric Burgess:
Hi Eric,
Your machine probably has one of the _DSM ACPI calls. Doing a grep on one of the existing Dell DSDT gives me:

3863: Method (_DSM, 4, NotSerialized)
3903: Return (\_SB.PCI0.IXVE.IGPU.PLAT (Arg3))
3909: Return (\_SB.PCI0.IXVE.IGPU.DSMS (Arg3))
3971: Device (CRT0)
3980: Device (LCD0)
3989: Device (SVD0)
3998: Device (DPV0)
4092: Scope (\_SB.PCI0)
4188: Scope (\_SB.PCI0.IXVE.IGPU)
4190: OperationRegion (IGPU, PCI_Config, 0x40, 0x04)
4196: Name (DSMF, 0x00)
4197: Method (_DSM, 4, NotSerialized)
4199: Store ("------- DSM --------", Debug)
4217: Store (One, DSMF)
4243: CreateByteField (Arg3, 0x00, DSM2)
4244: If (And (DSM2, 0x10))
4246: And (DSM2, 0x0F, Local0)
4248: Notify (\_SB.PCI0.IXVE.IGPU, 0xD9)
4271: \_SB.PCI0.XVR0.Z01I.DGON ()
4277: \_SB.PCI0.XVR0.Z01I.DGOF ()
4281: \_SB.PCI0.XVR0.Z01I.HSTA ()
4295: Return (DSMS (Arg3))

So you should be able to take one of the existing acpi modules and modify the acpi_get_handle call to use your specific ACPI method:

\_SB.PCI0.IXVE.IGPU.DSMS or something like that.

See this blog post of mine:
http://linux-hybrid-graphics.blogspot.com/2010/01/exploring-dsdtdsl-file.html