git: kernel/syscons: More accurate IOCTL behaviour when KMS fb is used.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sat Feb 20 01:36:02 PST 2016


commit bb2d0361a9e20bbd9bcc3836900781ab5beeb15a
Author: Imre Vadász <imre at vdsz.com>
Date:   Fri Feb 19 20:29:23 2016 +0100

    kernel/syscons: More accurate IOCTL behaviour when KMS fb is used.
    
    * Some IOCTLs should fail for now, when the KMS framebuffer is active,
      rather than crashing the machine or producing surprising results.
    
    * Implement the CONS_MODEINFO/FBIO_MODEINFO IOCTLs for the KMS framebuffer,
      by just fabricating the video_info_t data.

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

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list