DragonFly commits List (threaded) for 2009-05
DragonFly-184.108.40.206.g2c845 master sys/dev/drm drmP.h drm_drv.c
Author: Simon Schubert <firstname.lastname@example.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(-)
DragonFly BSD source repository