diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-11-04 10:10:49 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-12-29 04:06:27 -0500 |
commit | 65e116e17327bce9b75adb02574a6edf126f7ef2 (patch) | |
tree | d16419e48373126c55ab90aff20134ba4bfa4e82 | |
parent | 5b354af9eda43f8941f0f28873e6ce2b99f68413 (diff) |
OMAPDSS: configure WB fifo thresholds
Fifo thresholds for all pipelines are set in dispc_init_fifos(), but we
are missing it for WB pipeline. Add that.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/fbdev/omap2/dss/dispc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/video/fbdev/omap2/dss/dispc.c b/drivers/video/fbdev/omap2/dss/dispc.c index 0ebfef9ae07f..22b6e0f3e657 100644 --- a/drivers/video/fbdev/omap2/dss/dispc.c +++ b/drivers/video/fbdev/omap2/dss/dispc.c | |||
@@ -1205,6 +1205,17 @@ static void dispc_init_fifos(void) | |||
1205 | 1205 | ||
1206 | dispc_ovl_set_fifo_threshold(i, low, high); | 1206 | dispc_ovl_set_fifo_threshold(i, low, high); |
1207 | } | 1207 | } |
1208 | |||
1209 | if (dispc.feat->has_writeback) { | ||
1210 | u32 low, high; | ||
1211 | const bool use_fifomerge = false; | ||
1212 | const bool manual_update = false; | ||
1213 | |||
1214 | dispc_ovl_compute_fifo_thresholds(OMAP_DSS_WB, &low, &high, | ||
1215 | use_fifomerge, manual_update); | ||
1216 | |||
1217 | dispc_ovl_set_fifo_threshold(OMAP_DSS_WB, low, high); | ||
1218 | } | ||
1208 | } | 1219 | } |
1209 | 1220 | ||
1210 | static u32 dispc_ovl_get_fifo_size(enum omap_plane plane) | 1221 | static u32 dispc_ovl_get_fifo_size(enum omap_plane plane) |