From: Tomi Valkeinen Date: Tue, 18 May 2010 10:35:37 +0000 (+0300) Subject: OMAP: DSS2: DSI: increase FIFO low threshold X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=36194b4792bacf8a02e713536487af60938f06dd;p=deliverable%2Flinux.git 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 --- 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)