DragonFly-2.3.1.143.g2c845 master sys/dev/drm drmP.h drm_drv.c
Simon Schubert
corecode at crater.dragonflybsd.org
Thu May 28 01:02:00 PDT 2009
commit 2c845b818bedb7bc942386f73cb1d59e884a2c78
Author: Simon Schubert <corecode at 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
More information about the Commits
mailing list