git: drm2: Handle device creation, translate dev_ops functions

Francois Tigeot ftigeot at crater.dragonflybsd.org
Tue Jul 30 08:00:30 PDT 2013


commit a41a38d3cdbd335ebe18d10a34318dc4655bdcc5
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Tue Jul 30 13:29:00 2013 +0200

    drm2: Handle device creation, translate dev_ops functions
    
    * drm_attach, drm_open, drm_close, drm_mmap, drm_read, drm_ioctl modified
      following the model of the existing functions in the old drm/ implementation
    
    * poll and select don't exist on DragonFly and are replaced by kqueue
    
    * Additional fixes from Johannes Hofmann to set ap->a_result in drm_mmap()
      and resolve crashes in drm_open() and drm_ioctl()

Summary of changes:
 sys/dev/drm2/drmP.h     |  5 ++-
 sys/dev/drm2/drm_drv.c  | 88 ++++++++++++++++++++++++-------------------------
 sys/dev/drm2/drm_fops.c | 52 ++++++++++++++++++++++++++---
 sys/dev/drm2/drm_vm.c   | 20 ++++++++---
 4 files changed, 109 insertions(+), 56 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list