[Nouveau] [Discussion] User controls for PowerManagement
luca.barbieri at gmail.com
Sat Jan 9 15:21:43 PST 2010
How about taking inspiration from the cpufreq sysfs interface?
There are sysfs objects for drm cards at /sys/class/drm/card<number>.
Mine, for instance, is at /sys/class/drm/card0, which links to
A simple scaling approach could just look at the time of the last
pushbuffer submission on any non-Xserver channel (adding a flag for
the DDX, or possibly direct rendered desktop applications to specify
on channel creation). If it's more than N milliseconds ago, turn on
power saving, otherwise disable it, possibly with several time
thresholds for several modes. Of course, it shoud not be implemented
literally this way, but rather by using timers appropriately.
More information about the Nouveau