Re: [PATCH xserver] tests: Build test programs only when testing

2016-12-12 Thread Peter Hutterer
On Sun, Dec 11, 2016 at 07:45:44AM +0500, Mihail Konev wrote: > Signed-off-by: Mihail Konev > --- > In case it is the [exact] opposite of the effect intended > (test linking of test programs on every build), > should then this be conditioned as a ./configure option? NAK, there's a

[PATCH libX11] German Locale Updates

2016-12-12 Thread Matthias Dieter Wallnöfer
This commit adds the necessary changes to recognise the new de_IT locale present in GLIBC 2.24 onwards. It fixes also a small issue in the de_LI ISO8859-15 locale mapping. https://bugs.freedesktop.org/show_bug.cgi?id=98857 Signed-off-by: Matthias Dieter Wallnöfer ---

Re: [PATCH xserver 05/11] vfb: Remove -pixdepths option

2016-12-12 Thread Keith Packard
Adam Jackson writes: > I'm thinking we could just make the pixmap format list constant: depths > 1, 4, 8, 12, 15, 16, 18, 24, 30, 32. (Yes 18, apparently r6g6b6 is a > thing.) Why leave anything out, after all. Sounds good. It almost does that already... -- -keith

Re: [PATCH xserver 11/11] shadow: Remove unused shadowAlloc

2016-12-12 Thread Adam Jackson
On Sat, 2016-12-10 at 09:27 -0800, Keith Packard wrote: > Adam Jackson writes: > > > Signed-off-by: Adam Jackson > > Reviewed-by: Keith Packard Merged the reviewed bits, thanks: remote: I: patch #126653 updated using rev

Re: [PATCH xserver 08/11] shadow: Lift 32->24 conversion from modesetting to dix

2016-12-12 Thread Adam Jackson
On Sat, 2016-12-10 at 09:24 -0800, Keith Packard wrote: > Adam Jackson writes: > > > Signed-off-by: Adam Jackson > > Seems like a bunch of the other logic in msUpdatePacked might want to > move someday too? It might be cool to move that feature up, yeah. I

Re: [edid-decode] [PATCH 2/2] Calculate DisplayID checksums. Refactor do_checksum.

2016-12-12 Thread walter harms
Am 10.12.2016 20:44, schrieb Mark Ferry: > --- > edid-decode.c | 40 +--- > 1 file changed, 25 insertions(+), 15 deletions(-) > > diff --git a/edid-decode.c b/edid-decode.c > index c18697f..6df2b6e 100644 > --- a/edid-decode.c > +++ b/edid-decode.c > @@

Re: [PATCH xserver 05/11] vfb: Remove -pixdepths option

2016-12-12 Thread Adam Jackson
On Sat, 2016-12-10 at 09:09 -0800, Keith Packard wrote: > > Adam Jackson writes: > > > This really isn't especially useful, and we'd rather not be in the > > business of supporting arbitrary pixel formats. > > I recall playing with this when I heard of a strange piece of

[PATCH xserver] Revert "damage: Make damageRegionProcessPending take a damage not a drawable"

2016-12-12 Thread Adam Jackson
The commit message makes the assertion that the code below damage is not allowed to change whether there's a damage monitor for the drawable. That turns out not to be the case! exa's mixed code, at least, will create and destroy a damage in PrepareAccess. The destroy path can then be catastrophic,

[PATCH xserver 5/6] xfree86: Allow overriding primary GPU detection from an OutputClass section

2016-12-12 Thread Hans de Goede
Allow using: Option "PrimaryGPU" "yes" In an OutputClass section to override the default primary GPU device selection which selects the GPU used as output by the firmware. If multiple output devices match an OutputClass section with the PrimaryGPU option set, the first one enumerated becomes

[PATCH xserver 6/6] xfree86: Add ModulePath support for OutputClass config Sections

2016-12-12 Thread Hans de Goede
Allow OutputClass config snippets to modify the module-path. Note that any specified ModulePaths will be pre-pended to the normal ModulePath. The idea behind this is that any output hardware specific modules should have preference over the normal modules. One use-case for this is the nvidia

[PATCH xserver 3/6] xfree86: Add options support for OutputClass Options

2016-12-12 Thread Hans de Goede
Add support for setting options in OutputClass Sections and having these applied to any matching output devices. Signed-off-by: Hans de Goede --- hw/xfree86/common/xf86Option.c | 5 - hw/xfree86/common/xf86platformBus.c | 42 +

[PATCH xserver 0/6] xfree86: Extend OutputClass config sections

2016-12-12 Thread Hans de Goede
Hi All, This patch series main goal (*) is to allow the nvidia binary driver to install a xorg.conf snippet with the following contents: Section "OutputClass" Identifier "nvidia" MatchDriver "nvidia-drm" Driver "nvidia" Option "AllowEmptyInitialConfiguration" Option

[PATCH xserver 4/6] xfree86: xf86platformProbe: split finding pci-info and setting primary GPU

2016-12-12 Thread Hans de Goede
This is a preparation patch for allowing an OutputClass section to override the default primary GPU device selection. Signed-off-by: Hans de Goede --- hw/xfree86/common/xf86platformBus.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff

[PATCH xserver 2/6] xfree86: Make OutputClassMatches take a xf86_platform_device

2016-12-12 Thread Hans de Goede
Make OutputClassMatches directly take a xf86_platform_device as argument, rather then an index into xf86_platform_devices. This makes things easier for callers which already have a xf86_platform_device pointer. Signed-off-by: Hans de Goede ---

[PATCH xserver 1/6] xfree86: Free devlist returned by xf86MatchDevice

2016-12-12 Thread Hans de Goede
xf86MatchDevice returns a dynamically allocated list of GDevPtr-s, free this when we're done with it. Signed-off-by: Hans de Goede --- hw/xfree86/common/xf86platformBus.c | 4 1 file changed, 4 insertions(+) diff --git a/hw/xfree86/common/xf86platformBus.c

[PATCH xserver] xinerama: Swap the response in RRXineramaWriteMonitor.

2016-12-12 Thread Michal Srb
diff --git a/randr/rrxinerama.c b/randr/rrxinerama.c index b6e9586..8f499df 100644 --- a/randr/rrxinerama.c +++ b/randr/rrxinerama.c @@ -260,6 +260,13 @@ RRXineramaWriteMonitor(ClientPtr client, RRMonitorPtr monitor) scratch.width = monitor->geometry.box.x2 - monitor->geometry.box.x1;