Re: [PATCH xorgproto 0/2] randr: Add leases and non-desktop property

2018-02-12 Thread Adam Jackson
On Mon, 2018-02-05 at 12:39 -0800, Keith Packard wrote: > I've just taken my randrproto patches and cherry-picked them into > xorgproto, then cleaned up the bits for the randrproto version > number. Merged: To ssh://git.freedesktop.org/git/xorg/proto/xorgproto 0da7778..e681f8d master ->

Re: [PATCH xserver 1/2] animcur: Change which CursorPtr we save in external state

2018-02-12 Thread Adam Jackson
On Mon, 2018-02-12 at 15:35 -0500, Adam Jackson wrote: > Formerly spriteInfo->anim.pCursor would point to the animated cursor (or > NULL if not animated). That value would also be available in > spriteInfo->sprite->current, so instead lets use anim.pCursor to point > to the current animation

[PATCH xserver 7/7] modesetting: Allow a DRM fd to be passed through XF86_VIDEO_MODESETTING_FD

2018-02-12 Thread Keith Packard
This lets an application open a suitable DRM device and pass the file descriptor to the mode setting driver through an environment variable. There's a companion application, xlease, which creates a DRM master by leasing an output from another X server. That is available at git clone

[PATCH xserver 1/7] xfree86/modes: Check for non-desktop monitors during PreInit [v2]

2018-02-12 Thread Keith Packard
At startup, we want to ignore non-desktop monitors unless we don't find any desktop monitors. Because there are no DIX RandR resources allocated, let the driver store this information in a new field in the xf86Output structure and then use that value to help decide whether to include an output as

[PATCH xserver 5/7] Add RandR leases with modesetting driver support [v6]

2018-02-12 Thread Keith Packard
This adds support for RandR CRTC/Output leases through the modesetting driver, creating a lease using new kernel infrastructure and returning that to a client through an fd which will have access to only those resources. v2: Restore CRTC mode when leases terminate When a lease

[PATCH xserver 2/7] xf86-video-modesetting: Record non-desktop kernel property at PreInit time

2018-02-12 Thread Keith Packard
Save any value of the kernel non-desktop property in the xf86Output structure to avoid non-desktop outputs in the default configuration. Signed-off-by: Keith Packard Reviewed-by: Adam Jackson --- hw/xfree86/drivers/modesetting/drmmode_display.c | 6 ++ 1

[PATCH xserver 3/7] randr: Support "non-desktop" property

2018-02-12 Thread Keith Packard
Tracks changes to the non-desktop property so that when non-zero, outputs will always appear to be disconnected. Signed-off-by: Keith Packard Reviewed-by: Adam Jackson --- randr/randrstr.h | 3 +++ randr/rroutput.c | 26 +-

[PATCH xserver 4/7] xf86-video-modesetting: Create CONNECTOR_ID properties for outputs [v2]

2018-02-12 Thread Keith Packard
This lets a DRM client map between X outputs and kernel connectors. v2: Change CONNECTOR_ID to enum -- Adam Jackson Signed-off-by: Keith Packard Reviewed-by: Adam Jackson --- hw/xfree86/drivers/modesetting/drmmode_display.c | 23

[PATCH xserver 0/7] non-desktop and lease series

2018-02-12 Thread Keith Packard
Here's a rebased version of the current non-desktop and RandR lease patches, including support for both in the xf86-video-modesetting driver. -keith ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info:

[PATCH xserver 2/2] xfixes: Restore monitoring of animated cursors

2018-02-12 Thread Adam Jackson
This was broken by: commit aa6651f83c698e8cc40de61aad36c73ca7a6adcf Author: Adam Jackson Date: Thu Jun 8 16:23:12 2017 -0400 xfixes: Remove the CursorCurrent array As of that change we look up the current cursor dynamically instead of trying to track

[PATCH xserver 1/2] animcur: Change which CursorPtr we save in external state

2018-02-12 Thread Adam Jackson
Formerly spriteInfo->anim.pCursor would point to the animated cursor (or NULL if not animated). That value would also be available in spriteInfo->sprite->current, so instead lets use anim.pCursor to point to the current animation element. Signed-off-by: Adam Jackson ---

Re: [PATCH xserver] glx: Only assign 8 bpc fbconfigs for composite visuals.

2018-02-12 Thread Adam Jackson
On Fri, 2018-02-09 at 15:20 +0200, Timo Aaltonen wrote: > On 07.02.2018 16:18, Mario Kleiner wrote: > > > Thanks for the review and merge. This also needs to get picked into the > > server 1.19 branch. Are there plans to tag a new 1.19.7 release soon? > > I'm worried that if spring distro updates

[PATCH xserver 6/7] test: Add randr lease tests [v2]

2018-02-12 Thread Keith Packard
Tests for RRCreateLease and RRFreeLease v2: Add meson build infrastructure meson build enables warnings and -Werror when building tests, and this test case had a lot of warnings... Signed-off-by: Keith Packard --- configure.ac |8 +

Re: [PATCH app/xkbcomp] pkgconfig: Add our bindir to xkbcomp.pc

2018-02-12 Thread Peter Hutterer
On Sat, Feb 10, 2018 at 03:51:05PM +, Jon Turney wrote: > On 07/11/2017 05:16, Peter Hutterer wrote: > > On Mon, Nov 06, 2017 at 12:55:20PM -0500, Adam Jackson wrote: > > > Signed-off-by: Adam Jackson > > > --- > > > xkbcomp.pc.in | 1 + > > > 1 file changed, 1