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 <agrawals@codeaurora.org>
This commit is contained in:
Siddhartha Agrawal 2012-09-12 18:47:41 -07:00 committed by Stephen Boyd
parent ced1ad3ad7
commit 8de4e205d5

View file

@ -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 * 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 * 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 */ /* max read pending cmd config */
outpdw(MDP_BASE + 0x004c, 0x02222); /* 3 pending requests */ outpdw(MDP_BASE + 0x004c, 0x02222); /* 3 pending requests */
outpdw(MDP_BASE + 0x0400, 0x7FF);
outpdw(MDP_BASE + 0x0404, 0x30050);
#ifndef CONFIG_FB_MSM_OVERLAY #ifndef CONFIG_FB_MSM_OVERLAY
/* both REFRESH_MODE and DIRECT_OUT are ignored at BLT mode */ /* both REFRESH_MODE and DIRECT_OUT are ignored at BLT mode */