git: syscons: Check if vaddr == 0 in sckmsrndr.c. Improve IOCTLs with KMS.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sat Feb 20 07:58:30 PST 2016


commit 2b5f463db45c2b59d7ab576d3918c7479e95869e
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Feb 20 15:38:04 2016 +0100

    syscons: Check if vaddr == 0 in sckmsrndr.c. Improve IOCTLs with KMS.
    
    * Just disable syscons drawing when the vaddr in struct fb_info is 0.
      This allows e.g. to initialize syscons with a framebuffer console,
      before the framebuffer has been mapped into virtual memory.
    
    * Some more IOCTLs should check if the KMS framebuffer is active and
      avoid VGA accesses in that case.

Summary of changes:
 sys/dev/misc/syscons/sckmsrndr.c | 12 ++++++++++++
 sys/dev/misc/syscons/scvidctl.c  | 16 +++++++++-------
 sys/dev/misc/syscons/syscons.c   | 28 ++++++++++++++++++----------
 3 files changed, 39 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2b5f463db45c2b59d7ab576d3918c7479e95869e


-- 
DragonFly BSD source repository



More information about the Commits mailing list