Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Nov 2013 19:46:34 +0100
From:      =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= <dumbbell@FreeBSD.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r258262 - head/sys/dev/drm2
Message-ID:  <52890F0A.7050501@FreeBSD.org>
In-Reply-To: <20131117174600.GN59496@kib.kiev.ua>
References:  <201311171607.rAHG7rY7057352@svn.freebsd.org> <20131117174600.GN59496@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 17/11/2013 18:46, Konstantin Belousov a écrit :
>> +/*
>> + * Default to use monotonic timestamps for wait-for-vblank and page-flip
>> + * complete events.
>> + */
>> +unsigned int drm_timestamp_monotonic = 1;
>> +
> Why do you need a variable there, instead of simply returning true
> from the drm_getcap ? I do not see any way to change the value of the
> drm_timestamp_monotonic.

Just to remain close to Linux original code. In Linux, this is module 
parameter. We could make it a sysctl at some point too.

-- 
Jean-Sébastien Pédron



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52890F0A.7050501>