compositor: Don't set DPMS state on start up
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Mon, 25 Feb 2013 16:06:38 +0000 (18:06 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 25 Feb 2013 17:16:51 +0000 (12:16 -0500)
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

index f384c9c..0e0835f 100644 (file)
@@ -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);