From owner-svn-src-all@FreeBSD.ORG Sun Nov 17 18:46:39 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A430D4C; Sun, 17 Nov 2013 18:46:39 +0000 (UTC) Received: from mail.made4.biz (unknown [IPv6:2001:41d0:1:7018::1:3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C5C8A2CE6; Sun, 17 Nov 2013 18:46:38 +0000 (UTC) Received: from 141.7.19.93.rev.sfr.net ([93.19.7.141] helo=[192.168.1.179]) by mail.made4.biz with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1Vi7Mg-000DVR-Jn; Sun, 17 Nov 2013 19:46:35 +0100 Message-ID: <52890F0A.7050501@FreeBSD.org> Date: Sun, 17 Nov 2013 19:46:34 +0100 From: =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: svn commit: r258262 - head/sys/dev/drm2 References: <201311171607.rAHG7rY7057352@svn.freebsd.org> <20131117174600.GN59496@kib.kiev.ua> In-Reply-To: <20131117174600.GN59496@kib.kiev.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 18:46:39 -0000 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