#5556 HIGH Update.: Sugar seems to be offset too far to the left

Zarro Boogs per Child bugtracker at laptop.org
Sun Jan 6 18:37:50 EST 2008


#5556: Sugar seems to be offset too far to the left
---------------------------+------------------------------------------------
  Reporter:  sierrahombre  |       Owner:  dilinger
      Type:  defect        |      Status:  new     
  Priority:  high          |   Milestone:  Update.1
 Component:  kernel        |     Version:          
Resolution:                |    Keywords:          
  Verified:  0             |    Blocking:          
 Blockedby:                |  
---------------------------+------------------------------------------------

Comment(by JordanCrouse):

 Other then the timing dance we have to do when switching the mode between
 GPU and DCON in the kernel, the other difference between the OFW and
 kernel source switch is that the kernel turns off the GPU and OFW does not
 (I think).

 That means we can narrow down the delta in the two processes to these:

 on switch to DCON:

 enable BLANK DACS, disable CRT, disable HYSNC EN, disable VSYNC_EN in
 VP_DISPLAY_CONFIG[[BR]]
 enable DAC_POWERDOWN in VP_MISC[[BR]]
 disable TGEN in DC_DISPLAY_CONFIG[[BR]]
 disable DFLE in DC_GENERAL_CONFIG[[BR]]
 disable P in VP_FP_PM[[BR]]
 [[BR]]
 on switch to CPU:[[BR]]
 [[BR]]
 enable P in VP_FP_PM[[BR]]
 disable DAC_POWERDOWN in VP_MISC[[BR]]
 enable DFLE in DC_GENERAL_CONFIG[[BR]]
 enable TGEN in DC_DISPLAY_CONFIG[[BR]]
 enable CRT, HSYNC and VSYNC, disable DAC BLANK in VP_DISPLAY_CFG[[BR]]

 We can prove that this code is to blame by deftly removing the GPU
 powerdown from the DCON driver and/or by slowly adding these bits to the
 OFW source switch routine until it breaks.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5556#comment:10>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list