From 5ae39e080c57790d333ac56d9c19ec2fe0bc11e7 Mon Sep 17 00:00:00 2001 From: Jon Mayo Date: Wed, 11 Jan 2012 14:59:55 -0800 Subject: 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 Reviewed-on: http://git-master/r/74652 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kevin Huang (Eng-SW) Tested-by: Xin Xie Reviewed-on: http://git-master/r/75536 Reviewed-by: Rohan Somvanshi Tested-by: Rohan Somvanshi --- drivers/video/tegra/dc/dc_priv.h | 1 + 1 file changed, 1 insertion(+) (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 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) -- cgit v1.2.3