diff options
author | Jon Mayo <jmayo@nvidia.com> | 2014-05-15 17:45:08 -0700 |
---|---|---|
committer | Emad Mir <emir@nvidia.com> | 2014-06-27 19:50:25 -0700 |
commit | 58bf883bf47223dc5a45ecf11a331ae01c58700c (patch) | |
tree | 7fa0eef49b0d545941536c1c22a15cda2d198c43 /arch/arm/mach-tegra/include | |
parent | 4ece899eefea447d1d732f976c42df9a5589707a (diff) |
video: tegra: dc: skip duplicate CMU update
Skip updating CMU on first boot, and restore CMU after disable or
suspend. Use dc->pdata->cmu_enable to select initial state of cmu, and
move the current cmu status out of dc->pdata and into dc->cmu_enabled.
Remove unused flag TEGRA_DC_FLAG_CMU_ENABLE.
Bug 1507065
Reviewed-on: http://git-master/r/410636
(cherry picked from commit 0c0bfb40e67fb31a01bd69695e0f153dbb2ac8de)
Change-Id: I645923339653698d1be137b3b90ad38735c3159e
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/431945
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'arch/arm/mach-tegra/include')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index 7306fdacca29..00037f5025a9 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -796,8 +796,6 @@ struct tegra_dc_bw_data { }; #define TEGRA_DC_FLAG_ENABLED (1 << 0) -#define TEGRA_DC_FLAG_CMU_DISABLE (0 << 1) -#define TEGRA_DC_FLAG_CMU_ENABLE (1 << 1) struct drm_mode_modeinfo; |