Comment 273 for bug 312756

Revision history for this message
bdkoepke (bdkoepke) wrote : Re: support graphics card hot switch

Haha, never mind I'm dumb, figured out the P3MO thing, it is really

0x01 <= P3MO

So if it is 0x01 then it runs the appropriate code...

So there are two ways to do this, I can simply write an adapter for acpi_call.ko that will quickly run

Store (One, \_SB.PCI0.RP00.VGA.P3MO)
\_SB.PCI0.RP00.VGA._PS3

Or I can trace down the condition for the following:

If (LEqual (SUBF, 0x1A))
                {
                    If (And (Local0, 0x01))
                    {
                        ShiftRight (Local0, 0x18, Local2)
                        If (LEqual (Local2, 0x03))
                        {
                            Store (One, \_SB.PCI0.RP00.VGA.P3MO)

In the _DSM method

(I'm assuming Local2 is local to only _DSM, so I'm not exactly sure what is going on here, or how to fix this...)

Any comments would be appreciated.