Blair Sadewitz wrote:
Module Name: src Committed By: bjs Date: Wed May 28 04:52:48 UTC 2008 Added Files: src/sys/dev/drm: drm_netbsd.c drm_netbsd.h Log Message: Add work-in-progress of NetBSD-specific code. I will be committing a lot more changes shortly (as soon as I work out the mmap offset insanity).
You should really use the symbolic names from drm_dmamem_free() in drm_dmamem_pgalloc() as well, as I can't follow what's going on otherwise without opening drm_netbsd.h and figuring out how many phase++'s have gone by.
Cheers, Jared