cvs commit: src/sys/dev/drm drm_sysctl.h
Eric Anholt
anholt at FreeBSD.org
Fri Oct 24 14:45:22 PDT 2003
anholt 2003/10/24 14:45:21 PDT
FreeBSD src repository
Modified files:
sys/dev/drm drm_sysctl.h
Log:
Don't try to use dev->dma_lock unless dma is initialized (dev->dma != NULL)
in bufs_info sysctl handler. dev->dma and dev->dma_lock existence are
protected by DRM_LOCK(). Fixes panic on sysctl hw.dri when the device is
uninitialied (when you aren't in X).
Revision Changes Path
1.6 +1 -2 src/sys/dev/drm/drm_sysctl.h
More information about the cvs-src
mailing list