git: syscons - Fix syscons with UEFI fb when drm fb is registered during boot.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sat Nov 26 16:57:48 PST 2016


commit cc624b1689c0caad8d17c4b4b4edeca001a07a88
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Nov 26 23:49:01 2016 +0100

    syscons - Fix syscons with UEFI fb when drm fb is registered during boot.
    
    * Fix sc->fbi related checks in register_framebuffer() and scinit(), to
      patch up the case where the drm framebuffer is registered before
      syscons' late initialization (i.e. the actual syscons attach function)
      runs.
    
    * Change some of the SC_EFI_FB checks in scinit() to check instead for
      sc->fbi != NULL.

Summary of changes:
 sys/dev/misc/syscons/syscons.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cc624b1689c0caad8d17c4b4b4edeca001a07a88


-- 
DragonFly BSD source repository


More information about the Commits mailing list