summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMatt Wagner <mwagner@nvidia.com>2011-10-10 14:46:55 -0700
committerSimone Willett <swillett@nvidia.com>2011-10-13 12:21:09 -0700
commit555a50c0fe4840d4de41c789bc472cda2902ed31 (patch)
tree9a8078ace03446048ca34e66a03b68daa7f707d0 /arch
parenta9277e51d087437f9246fc4824993bf86cda5533 (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 Change-Id: I970c33bbc662ffd3bf432b4de945abdb604b6895 Reviewed-on: http://git-master/r/57130 Tested-by: Matt Wagner <mwagner@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Diffstat (limited to 'arch')
-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 1ac66a6f96b1..21fe93312455 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;