DragonFly users List (threaded) for 2008-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: drm/dri update
On 07 Jan 2008 22:31:56 GMT
Johannes Hofmann <Johannes.Hofmann@gmx.de> wrote:
> Hey,
>
> I got it working with
Great!
I went for a variation viz:
--- drm_dma.c.orig 2008-01-07 14:35:13 +0000
+++ drm_dma.c 2008-01-08 09:21:33 +0000
@@ -81,8 +81,10 @@
}
}
- free(dma->buflist, M_DRM);
- free(dma->pagelist, M_DRM);
+ if (NULL != dma->buflist)
+ free(dma->buflist, M_DRM);
+ if (NULL != dma->pagelist)
+ free(dma->pagelist, M_DRM);
free(dev->dma, M_DRM);
dev->dma = NULL;
DRM_SPINUNINIT(&dev->dma_lock);
Just in case bufflist and/or pagelist ever do get populated. It
works although the glxgears performance isn't as good as I thought it would
be (~480 fps) - it is *much* better than without drm though.
--
C:>WIN | Directable Mirror Arrays
The computer obeys and wins. | A better way to focus the sun
You lose and Bill collects. | licences available see
| http://www.sohara.org/
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]