weston: add --drm-device option for DRM-backend
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 28 Mar 2017 15:14:37 +0000 (18:14 +0300)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 18 Dec 2017 11:58:17 +0000 (13:58 +0200)
commit8a9c8b08cf7b1bf911af181580b7045cb65af5df
tree676bfbddfefb2ea946eab5da3d4b5a5fd69eb90d
parentb45ed8baf0312915f30aa55b7d380379593edfd5
weston: add --drm-device option for DRM-backend

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

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
compositor/main.c
man/weston-drm.man