[PATCH] make xf86SetDesiredModes a bit more driver friendly

Jesse Barnes jbarnes at virtuousgeek.org
Thu Mar 6 17:18:59 PST 2008


This is the better tested version of the DPMS off patch, and includes aaronp's 
suggestion of removing the "xf86DisableUnusedFunctions" calls from 
xf86SetDesiredModes and xf86RandR12CrtcSet (the single mode function still 
uses it, but I think that's not used?).

I tested with the attached patch for Intel.  It's important to only set the 
output->crtc field if a given output is on at startup time or the core code 
will remove all your modes.

Look ok?  I would be good if some other driver people looked at it as well...

Jesse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i830-initial-config-2.patch
Type: text/x-diff
Size: 7891 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080306/98fdf656/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xserver-randr-13-set-desired-mode-fixes.patch
Type: text/x-diff
Size: 1012 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080306/98fdf656/attachment-0001.patch>


More information about the xorg mailing list