public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* runtime PM and special power switches
@ 2012-09-11  5:15 Dave Airlie
  2012-09-11 20:55 ` Rafael J. Wysocki
  0 siblings, 1 reply; 9+ messages in thread
From: Dave Airlie @ 2012-09-11  5:15 UTC (permalink / raw)
  To: Rafael J. Wysocki, LKML, dri-devel

Hi Rafael,

I've been investigating runtime PM support for some use-cases on GPUs.

In some laptops we have a secondary GPU (optimus) that can be powered
up for certain 3D tasks and then turned off when finished with. Now I
did an initial pass on supporting it without using the kernel runtime
PM stuff, but Alan said I should take a look so here I am.

While I've started to get a handle on things, we have a bit of an
extra that I'm not sure we cater for.

Currently we get called from the PCI layer which after we are finished
with our runtime suspend callback, will go put the device into the
correct state etc, however on these optimus/powerxpress laptops we
have a separate ACPI or platform driver controlled power switch that
we need to call once the PCI layer is finished the job. This switch
effectively turns the power to the card completely off leaving it
drawing no power.

No we can't hit the switch from the driver callback as the PCI layer
will get lost, so I'm wondering how you'd envisage we could plug this
in.

Dave.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-09-18 21:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11  5:15 runtime PM and special power switches Dave Airlie
2012-09-11 20:55 ` Rafael J. Wysocki
2012-09-11 21:32   ` Alan Stern
2012-09-11 22:23     ` Rafael J. Wysocki
2012-09-11 22:23     ` Dave Airlie
2012-09-11 22:58       ` Rafael J. Wysocki
2012-09-12  5:13         ` Dave Airlie
2012-09-12  6:09           ` Dave Airlie
2012-09-18 21:47             ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox