video: tegra: dc: force the use of new bandwidth
authorJon Mayo <jmayo@nvidia.com>
Wed, 20 Jun 2012 20:48:53 +0000 (13:48 -0700)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Fri, 22 Jun 2012 08:59:45 +0000 (01:59 -0700)
commit1638783677893d0ba4050e67831e3f0c7d1aaaa1
tree44fc614aecea950e40a94affabc1ecb3ead9c29b
parentccb69dda81949b7de4169cb3ac68dfc04d9eef8b
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 <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/110149
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
drivers/video/tegra/dc/bandwidth.c
drivers/video/tegra/dc/dc.c
drivers/video/tegra/dc/dc_priv.h