From 1638783677893d0ba4050e67831e3f0c7d1aaaa1 Mon Sep 17 00:00:00 2001 From: Jon Mayo Date: Wed, 20 Jun 2012 13:48:53 -0700 Subject: video: tegra: dc: force the use of new bandwidth During programming of a frame or at frame end, force the use of the new EMC bandwidth instead of the previous frame's bandwidth. Moved copy of new_bandwidth out of tegra_dc_set_latency_allowance() to match the semantics of the rest of tegra_dc_program_bandwidth(). bug 949015 Change-Id: I881f3a2c75f3438e3bbb3208b518f15a4574bc91 Signed-off-by: Jon Mayo Reviewed-on: http://git-master/r/110149 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Daniel Solomon Reviewed-by: Kevin Huang (Eng-SW) --- drivers/video/tegra/dc/dc_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/video/tegra/dc/dc_priv.h') diff --git a/drivers/video/tegra/dc/dc_priv.h b/drivers/video/tegra/dc/dc_priv.h index a2e77ebf3385..ac3a5d341e18 100644 --- a/drivers/video/tegra/dc/dc_priv.h +++ b/drivers/video/tegra/dc/dc_priv.h @@ -322,6 +322,6 @@ unsigned int tegra_dc_has_multiple_dc(void); /* defined in bandwidth.c, used in dc.c */ void tegra_dc_clear_bandwidth(struct tegra_dc *dc); -void tegra_dc_program_bandwidth(struct tegra_dc *dc); +void tegra_dc_program_bandwidth(struct tegra_dc *dc, bool use_new); int tegra_dc_set_dynamic_emc(struct tegra_dc_win *windows[], int n); #endif -- cgit v1.2.3