msm_fb: Fix adb shell start/stop issue when bypass enabled

Currently when 2/3/4 layer bypass is enabled, doing a adb shell
stop/start is failing overlay and composition happens through
GPU. Fix this issue by proper overlay configuration during this
scenario.

Change-Id: Ia04f1839bf80ed552671e48445af63a4dcd6bdfd
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
This commit is contained in:
Naseer Ahmed 2013-04-04 11:00:51 -04:00 committed by Iliyan Malchev
parent 4876606f65
commit 74410ce2f0
2 changed files with 6 additions and 2 deletions

View file

@ -1641,9 +1641,13 @@ int mdp4_mixer_info(int mixer_num, struct mdp_mixer_info *info)
cnt = 0;
ndx = MDP4_MIXER_STAGE_BASE;
for ( ; ndx < MDP4_MIXER_STAGE_MAX; ndx++) {
pipe = ctrl->stage[mixer_num][ndx];
pipe = &ctrl->plist[ndx];
if (pipe == NULL)
continue;
if (!pipe->pipe_used)
continue;
info->z_order = pipe->mixer_stage - MDP4_MIXER_STAGE0;
/* z_order == -1, means base layer */
info->ptype = pipe->pipe_type;

View file

@ -594,7 +594,7 @@ struct mdp_mixer_info {
int z_order;
};
#define MAX_PIPE_PER_MIXER 4
#define MAX_PIPE_PER_MIXER 5
struct msmfb_mixer_info_req {
int mixer_num;