weston: add --drm-device option for DRM-backend

Graphics / Wayland / Weston - Pekka Paalanen [collabora.co.uk] - 18 December 2017 11:58 EST

Developers with testing rigs having multiple graphics cards plugged in often want to test things on a specific card. We have ways to choose a card through seat assignments, but configuring that run by run is awkward.

Add a command line option for opening a specific DRM device.

v2: call it --drm-device instead of --device

8a9c8b08 weston: add --drm-device option for DRM-backend
compositor/main.c | 2 ++
man/weston-drm.man | 7 +++++++
2 files changed, 9 insertions(+)

Upstream: cgit.freedesktop.org

  • Share