diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-03-08 18:20:08 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-03-08 18:51:54 +0100 |
commit | 4b2f59b3db7d378a42dfebd39e4e3b4ccc8280f8 (patch) | |
tree | 4cdc80e4c11752ed447a45f0b2b07a6d51010c2f /firmware/target/arm/imx233/system-imx233.c | |
parent | b0940b1dd388a3d7b8d50da329b84e8f65717b9a (diff) | |
download | rockbox-4b2f59b3db7d378a42dfebd39e4e3b4ccc8280f8.tar.gz rockbox-4b2f59b3db7d378a42dfebd39e4e3b4ccc8280f8.zip |
zen: handle lcd underflow by hand
Contrary to the imx233, the stmp37xx lcdif doesn't know how to properly
recover from underflow and things are worse because of the errata which
makes the lcdif not clear the fifo. Workaround this by detecting underflow
and taking action: stop dotclk mode (will clear fifo) and schedule next frame.
The dma transfers now write the ctrl register as part of the PIO writes,
making the code simpler.
Change-Id: I15abc24567f322cd03bf2ef7903094f7f0178427
Diffstat (limited to 'firmware/target/arm/imx233/system-imx233.c')
0 files changed, 0 insertions, 0 deletions