syscons - Handle kms framebuffer activation better when not in text mode.
commit6bf7fbb4144bdc701224764dcadc2336d4112687
authorImre Vadász <imre@vdsz.com>
Fri, 25 Nov 2016 00:26:32 +0000 (25 01:26 +0100)
committerImre Vadász <imre@vdsz.com>
Sat, 26 Nov 2016 00:41:27 +0000 (26 01:41 +0100)
tree88e5cf966c7e13467b3e8cec7afad31c66b12575
parent138b1116cf1965d64993c8378b927aeab22d58b7
syscons - Handle kms framebuffer activation better when not in text mode.

* We shouldn't just silently remove the GRAPHICS_MODE or UNKNOWN_MODE flags,
  instead try to handle those cases a bit more graceful.

* This avoid's Xorg's VT being silently switched back from UNKNOWN_MODE
  to text mode, when the drm driver module is automatically loaded while
  Xorg is starting.
sys/dev/misc/syscons/scvidctl.c