Google
  Web www.spinics.net

Re: S3C2410 8bpp 320x240 STN Display Driver problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Tue, Jul 26, 2005 at 07:47:18AM +0400, ??????? ???????? wrote:
> Hi all!
> I am using S3C2410 processor with Linux 2.6.11.6 and now I am writing 8bpp 320x240 STN Display driver for this system.
> But I have the following (palette or color?) problem:
> 1.	If I write fbi->fb.fix.visual = FB_VISUAL_PSEUDOCOLOR, then
> I have bad colors in linux logo and in Qt/Embedded applications.
> 2.	If I write fbi->fb.fix.visual = FB_VISUAL_TRUECOLOR, I have GOOD linux logo, but bad colors  in Qt/Embedded applications.
> 
> If I writing directly in to the framebuffer from my application all is OK.

Check that the palette is being setup correctly for the display, and that
the application is taking notice of the palette. I think that
FB_VISUAL_PSEUDOCOLOR is the correct value for palettised modes.

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.


-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Site Home]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux ARM Kernel]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux