kmscon: replace gpu selection modes with new --gpu option
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 6 Dec 2012 10:36:46 +0000 (11:36 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 6 Dec 2012 10:36:46 +0000 (11:36 +0100)
commitb972ebb1028013face765fc96d9b9d6fee32c6b0
treea34ed7ef30fec0869201d7de300530b023b6fca1
parentb18cf69663f4bdb9670428cc9313563fbd61e7c6
kmscon: replace gpu selection modes with new --gpu option

Instead of using one option for each selection mode, we now provide a new
option --gpus. It takes as argument the selection mode to use.

We also remove the --video-devices option as it doesn't fit into the big
picture. Instead, we should provide a blacklist and users would then use
--gpu=all --blacklist-video=<blacklist> instead.

However, blacklisting is also required for input devices and until we
figure it out, we will provide no blacklisting at all.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/kmscon_conf.c
src/kmscon_conf.h
src/kmscon_main.c
src/uterm_monitor.c