Comment 9 for bug 1234743

Revision history for this message
Colin Ian King (colin-king) wrote : Re: omapfb module floods system with udev events on samsung galaxy nexus when playing mp4

After some digging I've found the following:

1. commit a4e449e8a08e727b8160cb4e4a0367c447148d2f enables drivers/video/omap2/omapfb/omapfb-main.c to send VSYNC uevents on each vsync.

2. hwcomposer.omap4.so handles this VSYNC event, and inspecting /proc/$pid/maps it appears this is used by surface flinger.

3. reverting this commit does indeed reduce the events as received by init, however, surface flinger runs incredibly slowly as it does not get the vsync events.

Since this is a tight coupling between an Android H/W abstraction and the kernel driver, I'm not sure how we progress on this. I don't have the know-how on hwcomposer to figure out how to decouple this.