From: Robert Morell <rmorell-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: konkers-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org,
olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org,
Ari Hirvonen <ahirvonen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
Robert Morell <rmorell-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Subject: [PATCH 2/2] arm: tegra: ventana: fix display depth, dithering
Date: Fri, 15 Apr 2011 20:18:59 -0700 [thread overview]
Message-ID: <1302923939-374-2-git-send-email-rmorell@nvidia.com> (raw)
In-Reply-To: <1302923939-374-1-git-send-email-rmorell-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
From: Ari Hirvonen <ahirvonen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
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 <ahirvonen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Reviewed-by: Varun Colbert <vcolbert-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Tested-by: Robert Morell<rmorell-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Robert Morell <rmorell-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
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
next prev parent reply other threads:[~2011-04-16 3:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-16 3:18 [PATCH 1/2] video: tegra: Add dc color dithering support Robert Morell
[not found] ` <1302923939-374-1-git-send-email-rmorell-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-04-16 3:18 ` Robert Morell [this message]
2011-04-16 6:26 ` Mayuresh Janorkar
2011-04-17 6:15 ` Olof Johansson
2011-04-18 16:19 ` Erik Gilling
2011-04-18 17:28 ` [PATCH v2 " Robert Morell
2011-04-18 17:28 ` [PATCH v2 2/2] arm: tegra: ventana: fix display depth, dithering Robert Morell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1302923939-374-2-git-send-email-rmorell@nvidia.com \
--to=rmorell-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
--cc=ahirvonen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=konkers-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox