Age | Commit message (Collapse) | Author |
|
We can get rid of a bunch of stuff now that we'r using a softscreen.
Get rid of the static Memimage and Memdata for the framebuffer;
just allocate gscreen as a memimage from the image pool.
Avoid exporting fbraw pointer, just have screeninit() return it.
Remove fbmemalloc() function. it used to create a write-thru
mapping but given that we are no more reading the framebuffer,
we can use ucalloc() instead.
|
|
|
|
The previously reverted change has been reworked - things
get shut down in the right order, with clocks gated.
A lock is no longer needed either. The combined effect
is ~25mA saved when screen is off, compared to no changes.
|
|
Disabling LCDIF often produces flickering output at the top
of the LCD panel (timings going wrong?). Instead, just disable the
output on the bridge, which is much simpler, doesn't seem to cause
any issues, and saves enough power just as well.
|
|
Stop DOTCLK on interrupt after the current frame is done,
toggle PWM2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
increasing the pixel clock to 80% of the edid clock value
reduces flicker and also seems to not trigger the shifting
issue.
|
|
running at the actual pixel clock causes the screen
to shift horizontally after a while.
using 60% seems to fix it - for now.
|
|
supports the lcd panel and adds alot of infrastructure
like for the ccm clock module and the i2c controllers.
|