Re: [RFC 2.6.26-rc9 3/5] pxafb: add shared framebuffer interface
From: Jaya Kumar <hidden>
Date: 2008-08-02 12:06:56
On Thu, Jul 31, 2008 at 11:28 AM, Krzysztof Helt [off-list ref] wrote:
On Wed, 30 Jul 2008 08:51:07 -0400 Jaya Kumar [off-list ref] wrote:quoted
These changes are to make it possible for a secondary driver to share the pxafb framebuffer. The changes include: - adding extra_video_mem entry so that a driver can tell pxafb of its additional needs. - adding share_video_mem/unshare_video_mem callbacks to notify the secondary driver of the framebuffer address, to allow refcounting, and to cleanup on completion.
Hi Krzysztof, Thanks for the review. I have a feeling though that I have made a design mistake. My approach has been too specific to pxafb and I think the addition of callbacks to mach_pxa_info is not something that will be acked. My apologies for that. So I'll go and take some time to rethink my design and hopefully come up with something cleaner and more generic. I have an idea of using fb notifiers which I think will allow this all to work without needing any custom changes to pxafb. I'm sorry for having taken up everyones time with the previous approach. Thanks, jaya ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/