git: drm: Simplify the initialization of the hw.dri sysctl tree.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun Nov 1 14:09:26 PST 2015


commit 83dc54057ce0fcb5c3329601cadc7092e6fda664
Author: Imre Vadász <imre at vdsz.com>
Date:   Sun Nov 1 22:03:43 2015 +0100

    drm: Simplify the initialization of the hw.dri sysctl tree.
    
    * Just use SYSCTL_NODE and SYSCTL_INT declarations, for initializing and
      and destroying the hw.dri subtree atomagically (including the debug,
      notyet, vblank_offdelay and timestamp_precision integer nodes) on
      module load/unload.

Summary of changes:
 sys/dev/drm/drm_sysctl.c | 38 +++++++++++++-------------------------
 1 file changed, 13 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/83dc54057ce0fcb5c3329601cadc7092e6fda664


-- 
DragonFly BSD source repository



More information about the Commits mailing list