aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@nokia.com>2010-05-18 06:35:37 -0400
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-08-05 09:52:05 -0400
commit36194b4792bacf8a02e713536487af60938f06dd (patch)
tree926d105b2fc6b3c3b291a47d4b4b6a7adfd0707b
parentbbecb50b5f609e0291cce83e10b5500cc8d688c6 (diff)
OMAP: DSS2: DSI: increase FIFO low threshold
The current FIFO low threshold was too low, and caused the FIFO to run empty when core domain went to INA state between FIFO fills. This patch increases the low threshold to keep that from happening. The threshold values depend quite much on the HW and the use cases, so this should actually be somehow configurable from board files, perhaps. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
-rw-r--r--drivers/video/omap2/dss/dsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c
index 1358d301ac31..2ceddb83f247 100644
--- a/drivers/video/omap2/dss/dsi.c
+++ b/drivers/video/omap2/dss/dsi.c
@@ -3195,7 +3195,7 @@ void dsi_get_overlay_fifo_thresholds(enum omap_plane plane,
3195 burst_size_bytes = 16 * 32 / 8; 3195 burst_size_bytes = 16 * 32 / 8;
3196 3196
3197 *fifo_high = fifo_size - burst_size_bytes; 3197 *fifo_high = fifo_size - burst_size_bytes;
3198 *fifo_low = fifo_size - burst_size_bytes * 8; 3198 *fifo_low = fifo_size - burst_size_bytes * 2;
3199} 3199}
3200 3200
3201int dsi_init_display(struct omap_dss_device *dssdev) 3201int dsi_init_display(struct omap_dss_device *dssdev)