kmscon: fix --fbdev implying --all-gpus
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 27 Oct 2012 17:21:56 +0000 (19:21 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 27 Oct 2012 17:21:56 +0000 (19:21 +0200)
commitf5a98b0c6b6d26e5ceada399fe8e56734ed53dea
tree19543ff65f7d28259d3f993d4c13b3b08650d61a
parente495126c800afc7ff9e6398ae3c980d78db66459
kmscon: fix --fbdev implying --all-gpus

We currently have no code that sets PRIMARY flags for fbdev devices so
this logic does not make sense with --fbdev. Hence, imply --all-gpus when
--fbdev is set.

Reported-by: Ran Benita <ran234@gmail.com>
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/kmscon_main.c