summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/dc_priv.h
diff options
context:
space:
mode:
authorJon Mayo <jmayo@nvidia.com>2012-01-11 14:59:55 -0800
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-01-19 10:15:43 -0800
commit5ae39e080c57790d333ac56d9c19ec2fe0bc11e7 (patch)
tree454c67ae3bb707e53ef93cee3e7ace3304bf7b27 /drivers/video/tegra/dc/dc_priv.h
parent8b30829abe0fc6cf247a915cfcdbfa2432a713a1 (diff)
video: tegra: dc: 1-shot bandwidth calculation
In one-shot mode(DSI) report emc rate as disabled to reduce bandwidth in this idle state. Use this same tegra_dc_clear_bandwidth() function to handle display disable for all types of displays. Bug 914917 Change-Id: I84ca1341d71999b3558f9dadb103b258a1a6ab6f Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/74652 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com> Tested-by: Xin Xie <xxie@nvidia.com> Reviewed-on: http://git-master/r/75536 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/dc_priv.h')
-rw-r--r--drivers/video/tegra/dc/dc_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/dc_priv.h b/drivers/video/tegra/dc/dc_priv.h
index 1451db8b5440..e516bfd72c85 100644
--- a/drivers/video/tegra/dc/dc_priv.h
+++ b/drivers/video/tegra/dc/dc_priv.h
@@ -138,6 +138,7 @@ struct tegra_dc {
#endif
struct tegra_dc_lut fb_lut;
struct delayed_work underflow_work;
+ struct work_struct one_shot_work;
};
static inline void tegra_dc_io_start(struct tegra_dc *dc)