Improved DMA2D wait API