Commit 65e116e1 authored by Tomi Valkeinen's avatar Tomi Valkeinen

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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 5b354af9
...@@ -1205,6 +1205,17 @@ static void dispc_init_fifos(void) ...@@ -1205,6 +1205,17 @@ static void dispc_init_fifos(void)
dispc_ovl_set_fifo_threshold(i, low, high); dispc_ovl_set_fifo_threshold(i, low, high);
} }
if (dispc.feat->has_writeback) {
u32 low, high;
const bool use_fifomerge = false;
const bool manual_update = false;
dispc_ovl_compute_fifo_thresholds(OMAP_DSS_WB, &low, &high,
use_fifomerge, manual_update);
dispc_ovl_set_fifo_threshold(OMAP_DSS_WB, low, high);
}
} }
static u32 dispc_ovl_get_fifo_size(enum omap_plane plane) static u32 dispc_ovl_get_fifo_size(enum omap_plane plane)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment