summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-11-04 17:10:48 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-12-29 11:06:26 +0200
commit5b354af9eda43f8941f0f28873e6ce2b99f68413 (patch)
treec2c76ffe70df87b973cb68e59400e34c7903ae74 /drivers/video
parentc2665c4150ece59f13dcc78b9012d297acd96358 (diff)
downloadlinux-5b354af9eda43f8941f0f28873e6ce2b99f68413.tar.bz2
OMAPDSS: configure burst size for WB
Burst size for all pipelines is set in dispc_configure_burst_sizes(), but we are missing WB pipe. So add that. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/omap2/dss/dispc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/omap2/dss/dispc.c b/drivers/video/fbdev/omap2/dss/dispc.c
index 4126d6225faf..0ebfef9ae07f 100644
--- a/drivers/video/fbdev/omap2/dss/dispc.c
+++ b/drivers/video/fbdev/omap2/dss/dispc.c
@@ -1057,6 +1057,8 @@ static void dispc_configure_burst_sizes(void)
/* Configure burst size always to maximum size */
for (i = 0; i < dss_feat_get_num_ovls(); ++i)
dispc_ovl_set_burst_size(i, burst_size);
+ if (dispc.feat->has_writeback)
+ dispc_ovl_set_burst_size(OMAP_DSS_WB, burst_size);
}
static u32 dispc_ovl_get_burst_size(enum omap_plane plane)