[PATCH] drm: reduce default drm vblank off delay to 50ms

Jesse Barnes jbarnes at virtuousgeek.org
Tue Oct 30 12:21:07 PDT 2012


Cc'ing Mario in case he wants a different value than 50ms.

On Tue, 30 Oct 2012 14:09:12 -0500
Jesse Barnes <jbarnes at virtuousgeek.org> wrote:

> People keep whining about this, but no one seems to send a patch.  This
> *ought* to be safe now that we've dealt with the hw races in Mario's
> updated code, and fixed the bugs we know about in VT switch, DPMS, and
> multi-head configuraions.
> 
> Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
> ---
>  drivers/gpu/drm/drm_stub.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/drm_stub.c b/drivers/gpu/drm/drm_stub.c
> index c236fd2..a1cbc0e 100644
> --- a/drivers/gpu/drm/drm_stub.c
> +++ b/drivers/gpu/drm/drm_stub.c
> @@ -40,7 +40,7 @@
>  unsigned int drm_debug = 0;	/* 1 to enable debug output */
>  EXPORT_SYMBOL(drm_debug);
>  
> -unsigned int drm_vblank_offdelay = 5000;    /* Default to 5000 msecs. */
> +unsigned int drm_vblank_offdelay = 50;    /* Default to 50 msecs. */
>  EXPORT_SYMBOL(drm_vblank_offdelay);
>  
>  unsigned int drm_timestamp_precision = 20;  /* Default to 20 usecs. */


-- 
Jesse Barnes, Intel Open Source Technology Center


More information about the dri-devel mailing list