randr12: do DPMS off better
authorStuart Bennett <sb476@cam.ac.uk>
Wed, 19 Mar 2008 18:16:03 +0000 (18:16 +0000)
committerStuart Bennett <sb476@cam.ac.uk>
Wed, 19 Mar 2008 23:47:24 +0000 (23:47 +0000)
commitaa99fb07cd438f436fdfa4e5dff6d87d27950358
tree1337fa5bb83eb45430b4866830f3da8669638d81
parent063b393ac12bec286e0b28c2b18a98cedd3422c1
randr12: do DPMS off better

Half the time that DPMS off is done, there is no crtc bound, which meant outputs never got turned off.
It seems xf86DisableUnusedFunctions is always run *before* setting up the new outputs (when using xrandr):
if this is not the case, this commit may not be quite right.
src/nv_bios.c
src/nv_output.c