Skip to content

Commit

Permalink
3.8: attempt to fix AVI infoframes on HDMI
Browse files Browse the repository at this point in the history
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information
koenkooi committed May 8, 2013
1 parent b9fc3ca commit c98a6cf
Showing 1 changed file with 28 additions and 0 deletions.
@@ -0,0 +1,28 @@
From a95b6336fe81a0ac8b87948f01189eb534e7d96f Mon Sep 17 00:00:00 2001
From: Darren Etheridge <detheridge@ti.com>
Date: Tue, 7 May 2013 21:22:27 -0500
Subject: [PATCH 5/5] Enable output of correct AVI Infoframe type hdmi

---
drivers/gpu/drm/i2c/tda998x_drv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c
index e3e9101..7c64696 100644
--- a/drivers/gpu/drm/i2c/tda998x_drv.c
+++ b/drivers/gpu/drm/i2c/tda998x_drv.c
@@ -593,9 +593,9 @@ tda998x_avi_infoframe_enable(struct drm_encoder *encoder,
* so that the hardware acknowledges that the packet data might have
* changed
*/
- reg_clear(encoder, REG_DIP_IF_FLAGS, DIP_IF_FLAGS_IF3);
+ reg_clear(encoder, REG_DIP_IF_FLAGS, DIP_IF_FLAGS_IF2);
udelay(5);
- reg_set(encoder, REG_DIP_IF_FLAGS, DIP_IF_FLAGS_IF3);
+ reg_set(encoder, REG_DIP_IF_FLAGS, DIP_IF_FLAGS_IF2);
}

/* loopup table for CEA values to VIDFORMAT values taken from NXP datasheet */
--
1.8.1.4

0 comments on commit c98a6cf

Please sign in to comment.