summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@nokia.com>2010-05-18 12:35:37 +0200
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-08-05 15:52:05 +0200
commit36194b4792bacf8a02e713536487af60938f06dd (patch)
tree926d105b2fc6b3c3b291a47d4b4b6a7adfd0707b
parentOMAP: DSS2: DSI: Add error IRQ mask for DSI complexIO (diff)
downloadlinux-36194b4792bacf8a02e713536487af60938f06dd.tar.xz
linux-36194b4792bacf8a02e713536487af60938f06dd.zip
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,
burst_size_bytes = 16 * 32 / 8;
*fifo_high = fifo_size - burst_size_bytes;
- *fifo_low = fifo_size - burst_size_bytes * 8;
+ *fifo_low = fifo_size - burst_size_bytes * 2;
}
int dsi_init_display(struct omap_dss_device *dssdev)