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

Kristian Høgsberg hoegsberg at gmail.com
Mon Feb 25 09:17:23 PST 2013


On Mon, Feb 25, 2013 at 06:06:38PM +0200, Ander Conselvan de Oliveira wrote:
> 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.

Very nice, committed.

Kristian

> ---
>  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
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list