DragonFly commits List (threaded) for 2009-05
DragonFly BSD
DragonFly commits List (threaded) for 2009-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.1.143.g2c845 master sys/dev/drm drmP.h drm_drv.c


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 28 May 2009 01:01:30 -0700 (PDT)

commit 2c845b818bedb7bc942386f73cb1d59e884a2c78
Author: Simon Schubert <corecode@dragonflybsd.org>
Date:   Thu May 28 09:52:42 2009 +0200

    drm: adapt and use drm_close
    
    While importing the last drm code, drm_close was not properly ported and
    integrated.  Thus, opens only incremented the reference count, but code
    for closes and decrementing the reference count never was executed.
    
    As a result, Xorg drivers, which during probing drm open and close the
    device several times, would not be able to perform certain operations
    due to a wrong reference count.

Summary of changes:
 sys/dev/drm/drmP.h    |    2 +-
 sys/dev/drm/drm_drv.c |   13 ++++++++++---
 2 files changed, 11 insertions(+), 4 deletions(-)

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


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]