summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include/mach/dc.h
diff options
context:
space:
mode:
authorMatt Wagner <mwagner@nvidia.com>2011-10-10 14:46:55 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:34 -0800
commit619383b37fb77d1b274bf9013a577e466cd61999 (patch)
treec357c8fcb58edcdf816e29039d05af76b363cf81 /arch/arm/mach-tegra/include/mach/dc.h
parentb9f7359a8df8ee9e81f9d8af5495011e2dbc05c8 (diff)
video: tegra: Add priorities for DIDIM aggressiveness
Allows DIDIM to keep track of multiple aggressiveness settings based on different priority levels. Four Priority levels are supported and the maximum priority currently specified overrules the other settings. Lowest priority is given to the default kernel value and user specified values. Bug 888292 Reviewed-on: http://git-master/r/58425 (cherry picked from commit 11a602308f6e4d0851c918933c6839b825e00dde) Change-Id: Ic1081e52693e1cdb93501640caf6f12d56f4c58d Reviewed-on: http://git-master/r/60359 Tested-by: Matt Wagner <mwagner@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Rebase-Id: Rea5ddc8fe837d2b57c696e80e6ca07e93b4fac38
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/dc.h')
-rw-r--r--arch/arm/mach-tegra/include/mach/dc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h
index a05d35f198ae..9a939d2b43ec 100644
--- a/arch/arm/mach-tegra/include/mach/dc.h
+++ b/arch/arm/mach-tegra/include/mach/dc.h
@@ -254,6 +254,11 @@ struct tegra_dc_sd_rgb {
u8 b;
};
+struct tegra_dc_sd_agg_priorities {
+ u8 pri_lvl;
+ u8 agg[4];
+};
+
struct tegra_dc_sd_settings {
unsigned enable;
bool use_auto_pwm;
@@ -267,6 +272,8 @@ struct tegra_dc_sd_settings {
u16 cur_phase_step;
u16 phase_in_steps;
+ struct tegra_dc_sd_agg_priorities agg_priorities;
+
bool use_vid_luma;
struct tegra_dc_sd_rgb coeff;