dvisampler/dma: bugfixes