← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 312756] 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

-- 
support graphics card hot switch
https://bugs.launchpad.net/bugs/312756
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in ubuntu.