CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2009/03/27 13:36:55
Modified files: sys/dev/pci/drm: drmP.h drm_bufs.c mach64_dma.c mach64_drv.h mga_dma.c mga_drv.h r128_cce.c r128_drv.h radeon_cp.c radeon_drv.h savage_bci.c savage_drv.h Log message: Push the per-driver dma hook a little further down. All for all the drivers using the dma-bufs interface, their per-driver ioctl hooks all started out the same way, followed by a call to another function to actually select the buffer. Save some space by moving that selection logic into the main dma_ioctl call, and make the second function the hook.