git: drm: Implement dmi_check_system()

Francois Tigeot ftigeot at crater.dragonflybsd.org
Wed Aug 7 14:53:47 PDT 2013


commit 317a6a83b8cecd3c59b8bfc16cb62a81d433ec12
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Wed Aug 7 18:55:41 2013 +0200

    drm: Implement dmi_check_system()
    
    * The original function imported from FreeBSD was just a stub
    
    * Replace it by a working implementation from OpenBSD
    
    * And modify it slightly to use SMBIOS information from the loader
    
    * This makes it possible to avoid display detection issues on some
      slightly broken hardware reporting phantom outputs or other weird
      invalid data.

Summary of changes:
 sys/dev/drm2/drmP.h    |  2 ++
 sys/dev/drm2/drm_drv.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 50 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/317a6a83b8cecd3c59b8bfc16cb62a81d433ec12


-- 
DragonFly BSD source repository


More information about the Commits mailing list