[PATCH v3 06/11] fblog: open fb on registration

2012-07-15 Thread David Herrmann
This opens the framebuffer upon registration so we can use it for drawing-operations. On unregistration we close it again. While opening/closing or accessing the fb in any other way, we must hold the fb-mutex. However, since the notifiers are often called with the mutex already held, we cannot

[PATCH v3 06/11] fblog: open fb on registration

2012-07-15 Thread David Herrmann
This opens the framebuffer upon registration so we can use it for drawing-operations. On unregistration we close it again. While opening/closing or accessing the fb in any other way, we must hold the fb-mutex. However, since the notifiers are often called with the mutex already held, we cannot