From: Ari Hirvonen <[email protected]>

Ventana has a 6-bit-per-component panel, so set the bit depth to 18, and
enable ordered dithering for smoother gradients.

Signed-off-by: Ari Hirvonen <[email protected]>
Reviewed-by: Varun Colbert <[email protected]>
Tested-by: Robert Morell<[email protected]>
Signed-off-by: Robert Morell <[email protected]>
---
I was going to add this to harmony as well, but harmonay doesn't even have
tegra_dc_out platform data in linux-tegra, so it needs some more love before
this can be added.

 arch/arm/mach-tegra/board-ventana-panel.c |    2 ++
 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 f3e75e2..07919a4 100644
--- a/arch/arm/mach-tegra/board-ventana-panel.c
+++ b/arch/arm/mach-tegra/board-ventana-panel.c
@@ -204,6 +204,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),
-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to