diff options
author | Matt Wagner <mwagner@nvidia.com> | 2011-09-01 15:09:40 -0700 |
---|---|---|
committer | Ryan Wong <ryanw@nvidia.com> | 2011-09-07 11:24:11 -0700 |
commit | e66968c944f2b99eba5a8ea40306c81bc148923e (patch) | |
tree | 72b110b4b3f6c62c0a062da1191694528a75a43f /arch/arm/mach-tegra/include/mach | |
parent | e1fa6f8826cdd1674745b54dcad8042f5d5acce5 (diff) |
video: tegra: Phase in DIDIMtegra-12r8-earlytegra-12r8-android-3.2tegra-12r8-android-2.3
Settings in DIDIM driver are now phased in over a defined
number of steps in order to minimize the perception of changes
to the settings during runtime
Bug 840155
Change-Id: Id1a354dc153a432cdd08d54f197adb6b37d2fdb0
Reviewed-on: http://git-master/r/50926
Tested-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Ryan Wong <ryanw@nvidia.com>
Tested-by: Ryan Wong <ryanw@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/include/mach')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index 592f38d35a8e..11c206bfed57 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -258,8 +258,14 @@ struct tegra_dc_sd_settings { unsigned enable; bool use_auto_pwm; u8 hw_update_delay; - unsigned bin_width; + short bin_width; u8 aggressiveness; + u8 phase_in; + u8 cmd; + u16 cur_agg_step; + u8 final_agg; + u16 cur_phase_step; + u16 phase_in_steps; bool use_vid_luma; struct tegra_dc_sd_rgb coeff; @@ -274,6 +280,14 @@ struct tegra_dc_sd_settings { }; enum { + NO_CMD = 0x0, + ENABLE = 0x1, + DISABLE = 0x2, + PHASE_IN = 0x4, + AGG_CHG = 0x8, +}; + +enum { TEGRA_PIN_OUT_CONFIG_SEL_LHP0_LD21, TEGRA_PIN_OUT_CONFIG_SEL_LHP1_LD18, TEGRA_PIN_OUT_CONFIG_SEL_LHP2_LD19, |