So I have read through a lot of stuff... I know now yet another racy way to repaint the screen:
Code:
echo 1> /sys/devices/platform/mxc_epdc_fb/mxc_epdc_update
But still as I have no idea when the X server is writing my stuff to the framebuffer, when should I call this?
Can you point me to any code that a) uses GTK/Qt/etc. for drawing and b) does full eink refreshes without race conditions? I have not seen such code anywhere.
An interesting thing I came across was this einkdamage tool, but I gather nobody really knows what it does, is that correct?