drm-backend: add support for writeback connectors

Graphics / Wayland / Weston - Leandro Ribeiro [collabora.com] - 16 September 2020 14:03 UTC

Recognize writeback connectors and add 'struct drm_writeback' objects in order to store them.

These objects are created and stored in a list by the time that DRM-backend is initialized. This list is updated if a writeback connector dynamically appears or is disconnected.

96bef051 drm-backend: add support for writeback connectors
libweston/backend-drm/drm-internal.h | 11 +++
libweston/backend-drm/drm.c | 147 ++++++++++++++++++++++++++++++++---
libweston/backend-drm/kms.c | 2 +
3 files changed, 149 insertions(+), 11 deletions(-)

Upstream: cgit.freedesktop.org


  • Share