[PATCH weston 1.0] compositor: Don't set DPMS state on start up

Ander Conselvan de Oliveira conselvan2 at gmail.com
Mon Feb 25 08:06:38 PST 2013


From: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>

Assume the backend sets the outputs to on state. This improves start up
time when using the drm backend by avoiding a GetConnectors() call that
can take up to a few hundred milliseconds because of DDC.
---
 src/compositor.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/compositor.c b/src/compositor.c
index f384c9c..0e0835f 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -3305,7 +3305,6 @@ int main(int argc, char *argv[])
 		goto out;
 	}
 
-	weston_compositor_dpms_on(ec);
 	weston_compositor_wake(ec);
 
 	wl_display_run(display);
-- 
1.7.9.5



More information about the wayland-devel mailing list