[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Re: Strange effect on Kyocera LCD display
From:       Holger Schurig <h.schurig () mn-logistik ! de>
Date:       2002-06-27 6:42:13
[Download RAW message or body]

Short note: I solved my strange-display-bug. It's a brown paper bag type 
bug ...

>         pixclock:       462963, /* clock period in ps */
>         bpp:            12,
>         xres:           320,
>         yres:           240,
[...]
>         lccr0:          0x0030087C, //LCD_CTL0_VALUE,
>         lccr3:          0x0340160C  //LCD_CTL3_VALUE,

but with the current pxafb.c all of this is irrelevant because somewhere 
in the pxafb.c one can read:

        new_regs.lccr0 = fbi->lccr0;
//              |
//              LCCR0_LEN | LCCR0_LDM | LCCR0_BAM |
//              LCCR0_ERM | LCCR0_LtlEnd | LCCR0_DMADel(0);

and even more disgusting:

        new_regs.lccr1 = 0x3030A7F;

I actually read this and ignored it, not recognizing that such a line 
makes most of the info in pxafb_mach_info irrelevant. Frank Becker's 
patch for the PXA-based Cerf fixed this up, but Nico hasn't yet 
incorporated Frank's Patches fully.

So, I finally have a display on a non-hanging system. I just have to 
look at the colors now :-)

-- 
MN-Logistik GmbH         http://www.mn-logistik.de
Holger Schurig           Network Administrator
Dieselstr. 18
61191 Rosbach v.d.Höhe
Tel: 06003/9141-0        Fax: 06003/9141-49


-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic