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>
This commit is contained in:
@@ -91,6 +91,13 @@ will understand the following additional command line options.
|
||||
By default, use the current video mode of all outputs, instead of
|
||||
switching to the monitor preferred mode.
|
||||
.TP
|
||||
\fB\-\-drm\-device\fR=\fIcardN\fR
|
||||
Use the DRM device
|
||||
.I cardN
|
||||
instead of the default heuristics based on seat assignments and boot VGA
|
||||
status. For example, use
|
||||
.BR card0 .
|
||||
.TP
|
||||
\fB\-\-seat\fR=\fIseatid\fR
|
||||
Use graphics and input devices designated for seat
|
||||
.I seatid
|
||||
|
||||
Reference in New Issue
Block a user