From: Krzysztof H. <krz...@po...> - 2008-06-07 08:35:35
|
On Sat, 7 Jun 2008 00:49:21 -0400 Jaya Kumar <jay...@gm...> wrote: > These changes are to make it possible for a secondary driver to share the > pxafb framebuffer. The changes include: > - adding clkdev entry in pxafb_mach_info so that a driver can pass in the > correct struct device owner for the LCDCLK. > - adding custom_xfer_div entry so that a driver can have custom sized > transfers. For example, the metronome controller uses 16 bit AMLCD > transfers but actually has 3 bit pixels in 8 bit containers. > - 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. > > Signed-off-by: Jaya Kumar <jay...@gm...> > --- > arch/arm/mach-pxa/devices.c | 2 + > drivers/video/pxafb.c | 45 ++++++++++++++++++++++++++++++++----- > include/asm-arm/arch-pxa/pxafb.h | 9 +++++++ > 3 files changed, 50 insertions(+), 6 deletions(-) > Acked-by: Krzysztof Helt <krz...@wp...> --------------------------------------------------------------- Sciagnij obowiazkowy katalog kibica! Kliknij >> http://link.interia.pl/f1e27 |