summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/dc.c
diff options
context:
space:
mode:
authorVenkata (Muni) Anda <muni@nvidia.com>2012-03-21 18:40:45 -0700
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-05-22 23:40:54 -0700
commit861e4862835fc8ee069de7b3bbc2736d0a618eae (patch)
treefd248db64ee03f63139fd4e003e32839cd667e02 /drivers/video/tegra/dc/dc.c
parent807906cf11ac7567bb9f6705272c57dd17428adb (diff)
video: tegra: dc: remove bandwidth efficiency
Remove the efficiency factor in the bandwidth calculation. Clock API will take care off setting the right clock based factoring the efficiency. Change-Id: I2b549197778b5afaf1aab3cc87a84debb08172e8 Reviewed-on: http://git-master/r/91659 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/103682 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Aleksandr Frid <afrid@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/video/tegra/dc/dc.c')
-rw-r--r--drivers/video/tegra/dc/dc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c
index 6809946..7fe9819 100644
--- a/drivers/video/tegra/dc/dc.c
+++ b/drivers/video/tegra/dc/dc.c
@@ -1013,11 +1013,6 @@ static unsigned long tegra_dc_calc_win_bandwidth(struct tegra_dc *dc,
ret = dc->mode.pclk / 1000UL * bpp / 8 * (win_use_v_filter(dc, w) ? 2 : 1)
* dfixed_trunc(w->w) / w->out_w *
(WIN_IS_TILED(w) ? tiled_windows_bw_multiplier : 1);
- /*
- * Assuming ~35% efficiency: i.e. if we calculate we need 70MBps, we
- * will request 200MBps from EMC.
- */
- ret = ret * 29 / 10;
return ret;
}