From 8de4e205d52a59b013659a74024be2a55332cb83 Mon Sep 17 00:00:00 2001 From: Siddhartha Agrawal Date: Wed, 12 Sep 2012 18:47:41 -0700 Subject: [PATCH] msm_fb: display: Evenly balancing load on MDP ports Moving RGB1 and RGB2 to AXI port 1. This fixes underrun issues seen on External display while connecting and disconnecting HDMI. This patch evenly balancing pipe loads on each port. Change-Id: I2dc1166d04bb938f9e233a6de52f1a8a3fdd29e2 CRs-Fixed: 435458 Signed-off-by: Siddhartha Agrawal --- drivers/video/msm/mdp4_util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/video/msm/mdp4_util.c b/drivers/video/msm/mdp4_util.c index 632354ba9a20..ff5b1d1609d1 100644 --- a/drivers/video/msm/mdp4_util.c +++ b/drivers/video/msm/mdp4_util.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2009-2012, Code Aurora Forum. All rights reserved. +/* Copyright (c) 2009-2013, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -445,6 +445,8 @@ void mdp4_hw_init(void) /* max read pending cmd config */ outpdw(MDP_BASE + 0x004c, 0x02222); /* 3 pending requests */ + outpdw(MDP_BASE + 0x0400, 0x7FF); + outpdw(MDP_BASE + 0x0404, 0x30050); #ifndef CONFIG_FB_MSM_OVERLAY /* both REFRESH_MODE and DIRECT_OUT are ignored at BLT mode */