aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap2/dss/manager.c')
-rw-r--r--drivers/video/omap2/dss/manager.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/omap2/dss/manager.c b/drivers/video/omap2/dss/manager.c
index 7ebaa40d3b5..49c0d77a5f2 100644
--- a/drivers/video/omap2/dss/manager.c
+++ b/drivers/video/omap2/dss/manager.c
@@ -507,7 +507,6 @@ struct overlay_cache_data {
507 bool replication; 507 bool replication;
508 bool ilace; 508 bool ilace;
509 509
510 enum omap_burst_size burst_size;
511 u32 fifo_low; 510 u32 fifo_low;
512 u32 fifo_high; 511 u32 fifo_high;
513}; 512};
@@ -947,8 +946,7 @@ static int configure_overlay(enum omap_plane plane)
947 946
948 dispc_enable_replication(plane, c->replication); 947 dispc_enable_replication(plane, c->replication);
949 948
950 dispc_set_burst_size(plane, c->burst_size); 949 dispc_set_fifo_threshold(plane, c->fifo_low, c->fifo_high);
951 dispc_setup_plane_fifo(plane, c->fifo_low, c->fifo_high);
952 950
953 dispc_enable_plane(plane, 1); 951 dispc_enable_plane(plane, 1);
954 952
@@ -1417,7 +1415,7 @@ static int omap_dss_mgr_apply(struct omap_overlay_manager *mgr)
1417 /* Configure overlay fifos */ 1415 /* Configure overlay fifos */
1418 for (i = 0; i < omap_dss_get_num_overlays(); ++i) { 1416 for (i = 0; i < omap_dss_get_num_overlays(); ++i) {
1419 struct omap_dss_device *dssdev; 1417 struct omap_dss_device *dssdev;
1420 u32 size; 1418 u32 size, burst_size;
1421 1419
1422 ovl = omap_dss_get_overlay(i); 1420 ovl = omap_dss_get_overlay(i);
1423 1421
@@ -1435,6 +1433,8 @@ static int omap_dss_mgr_apply(struct omap_overlay_manager *mgr)
1435 if (use_fifomerge) 1433 if (use_fifomerge)
1436 size *= 3; 1434 size *= 3;
1437 1435
1436 burst_size = dispc_get_burst_size(ovl->id);
1437
1438 switch (dssdev->type) { 1438 switch (dssdev->type) {
1439 case OMAP_DISPLAY_TYPE_DPI: 1439 case OMAP_DISPLAY_TYPE_DPI:
1440 case OMAP_DISPLAY_TYPE_DBI: 1440 case OMAP_DISPLAY_TYPE_DBI:
@@ -1442,13 +1442,13 @@ static int omap_dss_mgr_apply(struct omap_overlay_manager *mgr)
1442 case OMAP_DISPLAY_TYPE_VENC: 1442 case OMAP_DISPLAY_TYPE_VENC:
1443 case OMAP_DISPLAY_TYPE_HDMI: 1443 case OMAP_DISPLAY_TYPE_HDMI:
1444 default_get_overlay_fifo_thresholds(ovl->id, size, 1444 default_get_overlay_fifo_thresholds(ovl->id, size,
1445 &oc->burst_size, &oc->fifo_low, 1445 burst_size, &oc->fifo_low,
1446 &oc->fifo_high); 1446 &oc->fifo_high);
1447 break; 1447 break;
1448#ifdef CONFIG_OMAP2_DSS_DSI 1448#ifdef CONFIG_OMAP2_DSS_DSI
1449 case OMAP_DISPLAY_TYPE_DSI: 1449 case OMAP_DISPLAY_TYPE_DSI:
1450 dsi_get_overlay_fifo_thresholds(ovl->id, size, 1450 dsi_get_overlay_fifo_thresholds(ovl->id, size,
1451 &oc->burst_size, &oc->fifo_low, 1451 burst_size, &oc->fifo_low,
1452 &oc->fifo_high); 1452 &oc->fifo_high);
1453 break; 1453 break;
1454#endif 1454#endif