Patch series that adds support for DRM leases. DRM leases is a method developed by Keith Packard to allow other application manage the output of a display/VR, while a DRM master is already owning the outputs resources. A more thorough explanation and terminology can be found at [1]. libdrm [2] and kernel [3] have already gained support.
Initially this was a single patch but decided to split into series to accommodate a demo client and another change as to allow a smoother transition of the output from weston to a DRM leased client. Marius Vlad (3): compositor-drm: Add support for drm-lease. compositor-drm: Do not perform a modeset when the output has been leased clients/simple-egl-lease: A demo client for DRM leases [1] https://keithp.com/blogs/DRM-lease/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.15-rc9&id=62884cd386b876638720ef88374b31a84ca7ee5f [3] https://cgit.freedesktop.org/mesa/drm/commit/?id=c4171535389d72e9135c9615cecd07b346fd6d7e Makefile.am | 13 + clients/simple-egl-lease.c | 880 +++++++++++++++++++++++++++++++++++++++++++++ clients/simple-egl-lease.h | 99 +++++ compositor/main.c | 9 + configure.ac | 21 ++ libweston/compositor-drm.c | 250 ++++++++++++- libweston/compositor.c | 1 + libweston/compositor.h | 2 + 8 files changed, 1273 insertions(+), 2 deletions(-) create mode 100644 clients/simple-egl-lease.c create mode 100644 clients/simple-egl-lease.h -- 2.9.3 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel