* frame buffer on PXA320
@ 2011-01-20 16:03 James Simmons
0 siblings, 0 replies; only message in thread
From: James Simmons @ 2011-01-20 16:03 UTC (permalink / raw)
To: linux-fbdev
Hi!
I forward this email to the proper list.
Hello,
I have a board Toradex Colibri PXA320 with linux (2.6.31).
Could anybody tell me how can I set up framebuffer for 800x600 24 bits per
pixel mode?
The picture is blinking on the screen.
With another modes framebuffer works fine, e.g. 16bpp.
There are correct values in LCD controller registers and GPIO pins are set
well too.
In file "drivers/video/pxafb.c" I found this code:
if (fbi->fb.var.bits_per_pixel >= 16)
fb_dealloc_cmap(&fbi->fb.cmap);
Why do we deallocate color map in struct fb_info if bits per pixel is more
than 16?
Thus fb_info.cmap = NULL and I can't use ioctl request FBIOGETCMAP and
can't play with different color maps.
Or may be it's not a color map issue?
Thanks,
Best regards,
Dennis Semakin.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-01-20 16:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-20 16:03 frame buffer on PXA320 James Simmons
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).