On Thu 3.Feb'11 at 17:11:14 -0800, Linus Torvalds wrote:
On Thu, Feb 3, 2011 at 5:05 PM, Keith Packard keithp@keithp.com wrote:
The goal is to make it so that when you *do* set a mode, DPMS gets set to ON (as the monitor will actually be "on" at that point). Here's a patch which does the DPMS_ON precisely when setting a mode.
Ok, patch looks sane, but it does leave me with the "what about the 'fb_changed' case?" question. Is that case basically guaranteed to not change any existing dpms state?
(note, this patch compiles, but is otherwise only lightly tested).
Carlos? Takashi? Ignore my crazy patch, try this one instead. Does it fix things for you?
Yes! (tested on top of 2.6.38-rc3+).
Thanks to everyone involved!