Changeset 3513


Ignore:
Timestamp:
Jan 7, 2013, 8:05:08 AM (22 months ago)
Author:
quozl
Message:

OLPC ARM - DCON unfreeze glitch reduction on 1.2 GHz SKUs. Increased the delay between waking screen and enabling DCONLOAD. Set scan line register in device setup. Solves #12394. Does not change #12377.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dev/olpc/dcon/mmp2dcon.fth

    r3496 r3513  
    8888 
    8989d# 850 value resumeline 
     90: scanint-set  resumeline scanint!  ; 
    9091: mark-time  ( -- start-time )  get-msecs  ; 
    9192: delta-ms  ( start-time -- elapsed-ms )  mark-time  swap -   ; 
     
    9394: wait-output  ( -- ) 
    9495   mark-time                                            ( start-time ) 
    95    resumeline scanint!  setup-dcon-irq  scanint-on      ( ) 
     96   setup-dcon-irq  scanint-on                           ( ) 
    9697   begin                                                ( start-time ) 
    9798      dcon-irq?  if                                     ( start-time ) 
     
    138139      wait-output               \ Wait for the DCON to reach the scan line 
    139140      " wake" $call-screen      \ Enable video signal from SoC 
    140       d# 5 ms 
     141      d# 25 ms 
    141142      dcon-load                 \ Put the DCON in VGA-refreshed mode 
    142143      d# 25 ms                  \ Ensure that that DCON sees the DCONLOAD high 
     
    220221 
    221222   h# 12 mode! 
     223   scanint-set 
    222224   false 
    223225; 
     
    248250\   dcon-load  dcon-enable  ( maybe-set-cmos ) 
    249251   \ dcon-enable leaves mode set to 69 - 40:antialias, 20:swizzle, 8:backlight on, 1:passthru off 
     252   scanint-set 
    250253   true 
    251254; 
Note: See TracChangeset for help on using the changeset viewer.