git: syscons - Set cons_unavail when blanking framebuffer screen from syscons.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Dec 4 15:37:16 PST 2016


commit 43c88c9d711a1d08f93df21293aea381e9fd1681
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Dec 3 21:13:03 2016 +0100

    syscons - Set cons_unavail when blanking framebuffer screen from syscons.
    
    * This makes us treat panics while the screen is blanked in KMS mode
      similar to panics while X is running. In both cases we have no
      possibility left to display the syscons console.
    
    * This also sets the cons_unavail flag, when the KMS driver is unloaded
      and the framebuffer console becomes unusable, until a new framebuffer
      is registered for syscons (which will clear cons_unavail again).

Summary of changes:
 sys/dev/misc/syscons/syscons.c | 30 ++++++++++++++++++++++++------
 sys/dev/misc/syscons/syscons.h |  1 +
 2 files changed, 25 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/43c88c9d711a1d08f93df21293aea381e9fd1681


-- 
DragonFly BSD source repository



More information about the Commits mailing list