summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@nokia.com>2010-05-18 13:35:37 +0300
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-08-05 16:52:05 +0300
commit36194b4792bacf8a02e713536487af60938f06dd (patch)
tree926d105b2fc6b3c3b291a47d4b4b6a7adfd0707b /drivers
parentbbecb50b5f609e0291cce83e10b5500cc8d688c6 (diff)
downloadlinux-36194b4792bacf8a02e713536487af60938f06dd.tar.gz
linux-36194b4792bacf8a02e713536487af60938f06dd.tar.bz2
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>
Diffstat (limited to 'drivers')
-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)