Commit graph

10 commits

Author SHA1 Message Date
Simon Ser
442fb88627 drm-lease: nominate Simon Zeni as maintainer
Drew is no longer active in the Wayland community. Simon Zeni is
the wlroots point-of-contact and is very familiar with DRM leasing.

Signed-off-by: Simon Ser <contact@emersion.fr>
2024-10-30 23:06:18 +00:00
Daniel Stone
3544c6dcc4 protocols: Add GitLab contact information
This is useful to know who to ping when you want to change something.

Signed-off-by: Daniel Stone <daniels@collabora.com>
2024-10-09 09:07:11 +00:00
Simon Zeni
bdb88cec2b drm-lease-v1: advertise connector again upon lease finished event
Signed-off-by: Simon Zeni <simon.zeni@collabora.com>
Reviewed-by: jexposit@redhat.com
2024-10-05 13:14:38 +00:00
Simon Zeni
950b7384b9 drm-lease-v1: advertise connector again upon lease destruction
Signed-off-by: Simon Zeni <simon.zeni@collabora.com>
Reviewed-by: Xaver Hugl <xaver.hugl@kde.org>
2024-10-05 13:14:38 +00:00
Simon Zeni
05e777f476 drm-lease-v1: specify existing lease status on withdrawn event
Signed-off-by: Simon Zeni <simon.zeni@collabora.com>
Reviewed-by: Xaver Hugl <xaver.hugl@kde.org>
2024-10-05 13:14:38 +00:00
PolyMeilex
9bfb27f0a4
Fix some trivial typos
Fix typos in protocol files and in python code

Signed-off-by: Bartłomiej Maryńczak <marynczakbartlomiej@gmail.com>
2024-05-03 14:16:40 +02:00
Lleyton Gray
bde1c8712d
staging/drm-lease: fix typo in description
Signed-off-by: Lleyton Gray <lleyton@fyralabs.com>
2023-11-09 13:57:58 -08:00
Xaver Hugl
930bc8014b staging/drm-lease: clarify connector naming
If the compositor advertises an output as a wp_drm_lease_connector_v1
and as wl_output, it should make the names match to allow clients to
identify the connection between the two outputs.

Signed-off-by: Xaver Hugl <xaver.hugl@gmail.com>
2023-01-23 17:06:32 +00:00
Tadeo Kondrak
1293ff146e staging/drm-lease: Annotate destructor event
Signed-off-by: Tadeo Kondrak <me@tadeo.ca>
2022-02-25 14:22:20 -07:00
Xaver Hugl
aa3df4084a staging/drm-lease: DRM lease protocol support
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 descriptor to
clients.

In less DRM-specific terms: this protocol allows Wayland compositors to
give over their GPU resources (like displays) to a Wayland client to
exclusively control.

The primary use-case for this is Virtual Reality headsets, which via the
non-desktop DRM property are generally not used as desktop displays by
Wayland compositors, and for latency reasons (among others) are most
useful to games et al if they have direct control over the DRM resources
associated with it. Basically, these are peripherals which are of no use
to the compositor and may be of use to a client, but since they are tied
up in DRM we need to use DRM leasing to get them into client's hands.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Signed-off-by: Xaver Hugl <xaver.hugl@gmail.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Signed-off-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2021-08-06 07:03:19 +00:00