* [PATCH v2 23/28] drm/i2c: tda998x: add the active aspect in HDMI AVI frame
@ 2014-01-09 11:06 Jean-Francois Moine
2014-01-11 18:51 ` Russell King - ARM Linux
0 siblings, 1 reply; 3+ messages in thread
From: Jean-Francois Moine @ 2014-01-09 11:06 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds the active aspect as 'picture' in the HDMI AVI frame
and also some comments about this frame.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
---
drivers/gpu/drm/i2c/tda998x_drv.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c
index 55cecb8..68630b8 100644
--- a/drivers/gpu/drm/i2c/tda998x_drv.c
+++ b/drivers/gpu/drm/i2c/tda998x_drv.c
@@ -696,7 +696,11 @@ tda998x_write_avi(struct tda998x_priv *priv, struct drm_display_mode *mode)
buf[HB(1)] = 0x02;
buf[HB(2)] = HDMI_AVI_INFOFRAME_SIZE;
buf[PB(1)] = HDMI_SCAN_MODE_UNDERSCAN;
+ /* (color_ind << 5) | (info_pres << 4) | (bar << 2) | scan */
+ buf[PB(2)] = HDMI_ACTIVE_ASPECT_PICTURE;
+ /* (colorimetry << 6) | (pic_ratio << 4) | active_ratio */
buf[PB(3)] = HDMI_QUANTIZATION_RANGE_FULL << 2;
+ /* (quant_range << 2) | non_uniform_scaling */
buf[PB(4)] = drm_match_cea_mode(mode);
tda998x_write_if(priv, DIP_IF_FLAGS_IF2, REG_IF2_HB0, buf,
--
Ken ar c'henta? | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 23/28] drm/i2c: tda998x: add the active aspect in HDMI AVI frame
2014-01-09 11:06 [PATCH v2 23/28] drm/i2c: tda998x: add the active aspect in HDMI AVI frame Jean-Francois Moine
@ 2014-01-11 18:51 ` Russell King - ARM Linux
2014-01-13 9:26 ` Jean-Francois Moine
0 siblings, 1 reply; 3+ messages in thread
From: Russell King - ARM Linux @ 2014-01-11 18:51 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jan 09, 2014 at 12:06:39PM +0100, Jean-Francois Moine wrote:
> This patch adds the active aspect as 'picture' in the HDMI AVI frame
> and also some comments about this frame.
Yes, this should've been set. It's probably a stable tree candidate,
but first it needs testing.
--
FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up. Estimation
in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad.
Estimate before purchase was "up to 13.2Mbit".
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2 23/28] drm/i2c: tda998x: add the active aspect in HDMI AVI frame
2014-01-11 18:51 ` Russell King - ARM Linux
@ 2014-01-13 9:26 ` Jean-Francois Moine
0 siblings, 0 replies; 3+ messages in thread
From: Jean-Francois Moine @ 2014-01-13 9:26 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, 11 Jan 2014 18:51:14 +0000
Russell King - ARM Linux <linux@arm.linux.org.uk> wrote:
> On Thu, Jan 09, 2014 at 12:06:39PM +0100, Jean-Francois Moine wrote:
> > This patch adds the active aspect as 'picture' in the HDMI AVI frame
> > and also some comments about this frame.
>
> Yes, this should've been set. It's probably a stable tree candidate,
> but first it needs testing.
I get correct 4:3 (1280x960) and 5:4 (1280x1024) images on my 16:9 TV
screen with this aspect value. 16:10 (1680x1050) images are stretched.
--
Ken ar c'henta? | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-13 9:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-09 11:06 [PATCH v2 23/28] drm/i2c: tda998x: add the active aspect in HDMI AVI frame Jean-Francois Moine
2014-01-11 18:51 ` Russell King - ARM Linux
2014-01-13 9:26 ` Jean-Francois Moine
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).