aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap2/dss/dsi.c')
-rw-r--r--drivers/video/omap2/dss/dsi.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c
index 2881399be931..795da7281110 100644
--- a/drivers/video/omap2/dss/dsi.c
+++ b/drivers/video/omap2/dss/dsi.c
@@ -4320,16 +4320,11 @@ int omapdss_dsi_enable_te(struct omap_dss_device *dssdev, bool enable)
4320EXPORT_SYMBOL(omapdss_dsi_enable_te); 4320EXPORT_SYMBOL(omapdss_dsi_enable_te);
4321 4321
4322void dsi_get_overlay_fifo_thresholds(enum omap_plane plane, 4322void dsi_get_overlay_fifo_thresholds(enum omap_plane plane,
4323 u32 fifo_size, enum omap_burst_size *burst_size, 4323 u32 fifo_size, u32 burst_size,
4324 u32 *fifo_low, u32 *fifo_high) 4324 u32 *fifo_low, u32 *fifo_high)
4325{ 4325{
4326 unsigned burst_size_bytes; 4326 *fifo_high = fifo_size - burst_size;
4327 4327 *fifo_low = fifo_size - burst_size * 2;
4328 *burst_size = OMAP_DSS_BURST_16x32;
4329 burst_size_bytes = 16 * 32 / 8;
4330
4331 *fifo_high = fifo_size - burst_size_bytes;
4332 *fifo_low = fifo_size - burst_size_bytes * 2;
4333} 4328}
4334 4329
4335int dsi_init_display(struct omap_dss_device *dssdev) 4330int dsi_init_display(struct omap_dss_device *dssdev)