Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-09-16 Thread Drew DeVault
On Mon Sep 16, 2019 at 11:57 AM Pekka Paalanen wrote: > > Or, simplifying things, we could send them that non-master fd and then > > they can just query it themselves and match the resources by their IDs > > with the resources offered for lease by the compositor. I'm not sure why > > constraining t

Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-09-16 Thread Pekka Paalanen
On Fri, 13 Sep 2019 09:32:01 -0400 "Drew DeVault" wrote: > On Thu Sep 12, 2019 at 2:42 PM Pekka Paalanen wrote: ... > > > The main issue is that we have no way to enumerate detailed mode > > > information in Xwayland to populate RandR, which is used by X clients in > > > the wild today to prep

Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-09-14 Thread Drew DeVault
I feel like this discussion is getting derailed. The purpose of this extension is not for general purpose fullscreen applications which want to have more control over the display than would normally be afforded to them. The intention is not that the compositor would ever lease a display it normally

Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-09-14 Thread Sebastian Wick
On 2019-09-14 19:29, Erwin Burema wrote: On Tue, 03 Sep 2019 00:15:56 +0200 Sebastian Wick wrote: > On 2019-07-30 14:53, Drew DeVault wrote: > > From: Marius Vlad > > > > DRM leasing is a feature which allows the DRM master to "lease" a > > subset > > of its DRM resources to another DRM master

Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-09-14 Thread Erwin Burema
> On Tue, 03 Sep 2019 00:15:56 +0200 > Sebastian Wick wrote: > > > On 2019-07-30 14:53, Drew DeVault wrote: > > > From: Marius Vlad > > > > > > DRM leasing is a feature which allows the DRM master to "lease" a > > > subset > > > of its DRM resources to another DRM master via drmModeCreateLease, >

Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-09-13 Thread Jonas Ã…dahl
On Fri, Sep 13, 2019 at 09:32:01AM -0400, Drew DeVault wrote: > On Thu Sep 12, 2019 at 2:42 PM Pekka Paalanen wrote: > > > This was resolved by choosing to have multiple drm_lease_manager > > > globals, one for each DRM device. No reworking should be necessary. > > > > in that case, document it in

Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-09-13 Thread Drew DeVault
On Thu Sep 12, 2019 at 2:42 PM Pekka Paalanen wrote: > > This was resolved by choosing to have multiple drm_lease_manager > > globals, one for each DRM device. No reworking should be necessary. > > in that case, document it in the XML please. ack > > The main issue is that we have no way to enum

Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-09-12 Thread Pekka Paalanen
On Wed, 11 Sep 2019 14:48:20 -0400 "Drew DeVault" wrote: > On Mon Sep 2, 2019 at 3:51 PM Pekka Paalanen wrote: > > Hi Drew, > > > > I seem to recall that you didn't want to add multi-DRM-device support > > here just yet and go first with just one implied DRM device. That is > > ok, but would be

Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-09-11 Thread Drew DeVault
On Mon Sep 2, 2019 at 3:51 PM Pekka Paalanen wrote: > Hi Drew, > > I seem to recall that you didn't want to add multi-DRM-device support > here just yet and go first with just one implied DRM device. That is > ok, but would be nice to have a TODO note somewhere near the top in the > XML file sayin

Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-09-03 Thread Pekka Paalanen
On Tue, 03 Sep 2019 00:15:56 +0200 Sebastian Wick wrote: > On 2019-07-30 14:53, Drew DeVault wrote: > > From: Marius Vlad > > > > DRM leasing is a feature which allows the DRM master to "lease" a > > subset > > of its DRM resources to another DRM master via drmModeCreateLease, > > which > > r

Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-09-02 Thread Simon Ser
On Tuesday, September 3, 2019 1:15 AM, Sebastian Wick wrote: > On 2019-07-30 14:53, Drew DeVault wrote: > > > From: Marius Vlad marius.v...@collabora.com > > DRM leasing is a feature which allows the DRM master to "lease" a > > subset > > of its DRM resources to another DRM master via drmModeCre

Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-09-02 Thread Sebastian Wick
On 2019-07-30 14:53, Drew DeVault wrote: From: Marius Vlad DRM leasing is a feature which allows the DRM master to "lease" a subset of its DRM resources to another DRM master via drmModeCreateLease, which returns a file descriptor for the new DRM master. We use this protocol to negotiate the

Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-09-02 Thread Pekka Paalanen
On Tue, 30 Jul 2019 08:53:31 -0400 Drew DeVault wrote: > From: Marius Vlad > > DRM leasing is a feature which allows the DRM master to "lease" a subset > of its DRM resources to another DRM master via drmModeCreateLease, which > returns a file descriptor for the new DRM master. We use this prot

Re: [PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-07-30 Thread Drew DeVault
Xwayland patch based on this work: https://gitlab.freedesktop.org/xorg/xserver/merge_requests/248 ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH v6] unstable/drm-lease: DRM lease protocol support

2019-07-30 Thread Drew DeVault
From: Marius Vlad DRM leasing is a feature which allows the DRM master to "lease" a subset of its DRM resources to another DRM master via drmModeCreateLease, which returns a file descriptor for the new DRM master. We use this protocol to negotiate the terms of the lease and transfer this file des