diff options
Diffstat (limited to 'drivers/video/tegra/dc/bandwidth.c')
-rw-r--r-- | drivers/video/tegra/dc/bandwidth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/tegra/dc/bandwidth.c b/drivers/video/tegra/dc/bandwidth.c index b98ced801f7c..45558450403d 100644 --- a/drivers/video/tegra/dc/bandwidth.c +++ b/drivers/video/tegra/dc/bandwidth.c @@ -617,12 +617,12 @@ static unsigned long tegra_dc_calc_win_bandwidth(struct tegra_dc *dc, * is of the luma plane's size only. */ bpp = tegra_dc_is_yuv_planar(w->fmt) ? 2 * tegra_dc_fmt_bpp(w->fmt) : tegra_dc_fmt_bpp(w->fmt); - ret = dc->mode.pclk / 1000UL * bpp / 8 * + ret = dc->mode.pclk / 1000UL * bpp / 8 #if defined(CONFIG_ARCH_TEGRA_2x_SOC) || defined(CONFIG_ARCH_TEGRA_3x_SOC) - (win_use_v_filter(dc, w) ? 2 : 1) * + * (win_use_v_filter(dc, w) ? 2 : 1) #endif - in_w / w->out_w * (WIN_IS_TILED(w) ? - tiled_windows_bw_multiplier : 1); + / w->out_w * in_w + / (WIN_IS_TILED(w) ? tiled_windows_bw_multiplier : 1); #ifdef CONFIG_ARCH_TEGRA_2x_SOC /* * Assuming 60% efficiency: i.e. if we calculate we need 70MBps, we |