summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAri Hirvonen <ahirvonen@nvidia.com>2011-03-12 17:47:04 +0200
committerVarun Colbert <vcolbert@nvidia.com>2011-03-29 17:21:31 -0700
commit384ae61b8f02c3fbe3119e8be8247a55e212eb3b (patch)
tree5ffdd4663b1c404b4e3cf2763e1db333f16fff42 /arch
parent78f8a86ecf4b00e74628a2287f95d163606e28ee (diff)
arm: tegra: ventana: fix dc out bit depth
Set to 18bit which is what Ventana's panel expects. Enabled ordered dithering for smoother gradients. Bug 797698 Signed-off-by: Ari Hirvonen <ahirvonen@nvidia.com> Reviewed-on: http://git-master/r/22717 (cherry picked from commit a904334b06a7b3bf255edadedd8b04055b2a0457) Change-Id: I4b707068cae7aa91094b77845d779535f276db82 Reviewed-on: http://git-master/r/23346 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/board-ventana-panel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-ventana-panel.c b/arch/arm/mach-tegra/board-ventana-panel.c
index 46ce9d5919d1..4c9cee7b01ae 100644
--- a/arch/arm/mach-tegra/board-ventana-panel.c
+++ b/arch/arm/mach-tegra/board-ventana-panel.c
@@ -228,6 +228,8 @@ static struct tegra_dc_out ventana_disp1_out = {
.align = TEGRA_DC_ALIGN_MSB,
.order = TEGRA_DC_ORDER_RED_BLUE,
+ .depth = 18,
+ .dither = TEGRA_DC_ORDERED_DITHER,
.modes = ventana_panel_modes,
.n_modes = ARRAY_SIZE(ventana_panel_modes),