public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* How will Gfx driver support runtime PM on Haswell?
@ 2013-08-21 15:29 Lin, Mengdong
  2013-08-22 23:07 ` Jesse Barnes
  0 siblings, 1 reply; 4+ messages in thread
From: Lin, Mengdong @ 2013-08-21 15:29 UTC (permalink / raw)
  To: intel-gfx@lists.freedesktop.org, Widawsky, Benjamin


[-- Attachment #1.1: Type: text/plain, Size: 1545 bytes --]

Hi Ben,

How will Gfx driver support runtime PM on Haswell? Will the Gfx driver trigger "Adapter Power State" notification to BIOS when GPU switch state between D0 and D3?

We need to support RTD3 for HD-A legacy audio on Haswell Ultrabook. And this depends on Gfx driver to implement two BIOS notifications.

Here is the background of this dependency:
The target of HD-Audio RTD3 is that BIOS can power off the on-board 3rd party audio codec to save power in S0. This would help to save ~60mW.
Please note that audio driver cannot power off the codec, because the codec power is controlled by some GPIO which is board specific.

The BIOS will power off the audio codec when three requirements are met:

(1)     System is running on battery

(2)     HD-Audio controller is in D3. Means no active audio application is using the audio devices.

(3)     All displays are off. This means system is in "User-Absent Mode", and a long latency for devices to resume back to D0 is allowed, such as ~300ms to power on the audio codec.

For the 3rd requirement, BIOS needs Gfx driver to tell whether the system is in user-absent mode. It needs Gfx driver to triger two SCI SW notifications: Display Power State Notification and Adapter Power State Notification.
'Display Power State Notification' was implemented by Jani. But we were told that 'Adapter Power State' notification needs Gfx driver to support runtime PM at first.

So would you please share some information about runtime PM support in Gfx driver?

Thanks
Mengdong


[-- Attachment #1.2: Type: text/html, Size: 8349 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2013-08-23 17:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-21 15:29 How will Gfx driver support runtime PM on Haswell? Lin, Mengdong
2013-08-22 23:07 ` Jesse Barnes
2013-08-23 16:49   ` Paulo Zanoni
2013-08-23 17:10     ` Jesse Barnes

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