[PATCH xserver] present: in get_ust_msc hook of wnmd provide CRTC as argument

2018-05-02 Thread Roman Gilg
For backwards compatibility a driver supporting window flip mode still must calculate msc values per CRTC. It is important that the driver returns the msc for the CRTC that Present requests the msc for or return an error if this is not possible. This way Present can calculate the offset

Re: [PATCH xserver] meson: Fix module_dir configuration (v2)

2018-05-02 Thread Peter Hutterer
On Wed, May 02, 2018 at 12:54:26PM -0700, Aaron Plattner wrote: > meson.build has code to set the module_dir variable to > ${libdir}/xorg/modules if the module_dir option string is empty. > However, this has several problems: > > 1. The variable is only used for an unused @moduledir@ substitution

[PATCH xserver] meson: Fix module_dir configuration (v2)

2018-05-02 Thread Aaron Plattner
meson.build has code to set the module_dir variable to ${libdir}/xorg/modules if the module_dir option string is empty. However, this has several problems: 1. The variable is only used for an unused @moduledir@ substitution in the man page. The rule for xorg-server.pc uses option('module_dir')

Re: [PATCH xserver] meson: Fix module_dir configuration

2018-05-02 Thread Aaron Plattner
On 04/06/2018 09:59 PM, Aaron Plattner wrote: > On 04/03/2018 02:27 AM, Thierry Reding wrote: >> On Mon, Apr 02, 2018 at 02:31:20PM -0700, Aaron Plattner wrote: >>> meson.build has code to set the module_dir variable to >>> ${libdir}/xorg/modules if the module_dir option string is empty. >>>

[PATCH xserver] modesetting: set gbm as dependency in meson build

2018-05-02 Thread Roman Gilg
Modifiers support needs gbm as a dependency. Without setting the dependency included headers are not found reliably and the build might fail if the headers are not placed in the default system include paths. Signed-off-by: Roman Gilg ---

last call for 1.20 (was Re: [PATCH xserver] present: fix msc offset calculation in window mode)

2018-05-02 Thread Adam Jackson
On Wed, 2018-05-02 at 14:58 -0400, Adam Jackson wrote: > I'll push out 1.20 shortly, I think things are about as well-baked as > they're going to get. We can always do stable releases if we need them. Roman has poked me on IRC asking for another day to look into this, so 1.20 won't be today.

Re: [PATCH xserver] present: fix msc offset calculation in window mode

2018-05-02 Thread Adam Jackson
On Fri, 2018-04-20 at 18:23 +0200, Olivier Fourdan wrote: > Hi, > > > On 20 April 2018 at 18:11, Michel Dänzer wrote: > > On 2018-04-20 05:10 PM, Roman Gilg wrote: > > > Instead of getting the current msc value from the window, which might be > > > different to old one

Re: [PATCH xserver] randr: Account for panning and transforms when constraining the cursor

2018-05-02 Thread Adam Jackson
On Tue, 2018-05-01 at 15:22 -0400, Adam Jackson wrote: > > This supercedes the hack introduced by > > commit 1bf81af4a6be1113bcc3b940ab264d5c9e0f0c5d [1.12.99.904] > > Author: Rui Matos > > Date: Mon Jul 30 14:32:12 2012 -0400 > > > > xf86RandR12: Don't call