Hi. I've implemented a Linux frame buffer device driver for a custom embedded board design. It was very straightforward to start using DirectFB to render graphics, thanks for the great work.
My device driver has a memory buffer that is mmap'ed by DirectFB via the frame buffer mmap interface. My HW is connected to the CPU via PCIe and the driver periodically transfers the whole buffer to HW via DMA. My problem is that the transfer is limited in bandwidth and I want to synchronize the frame buffer use so that the application using DirectFB is aware of when it is OK to start rendering new data. Is there any way that it is possible to signal user space (DirectFB) from the frame buffer device that "we are currently transferring data, please hold off"? I've tried the WaitIdle() and WaitForSync() in DirectFB, how do these map to the frame buffer API or don't they? Could the frame buffer operation: int (*fb_sync)(struct fb_info *info) be used for this? Cheers, Jonas Romfelt _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev