msm_fb: display: retrieve correct base layer pipe

Base layer pipe is cloned and cached at satge array.
Retrive the real base layer pipe before used it.

Change-Id: I6fc606559684156348a57b500083ed4089fc71b5
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
This commit is contained in:
Kuogee Hsieh 2012-08-01 18:19:11 -07:00 committed by Stephen Boyd
parent f4844bd8ab
commit f2495f9688

View file

@ -1662,6 +1662,12 @@ void mdp4_overlay_borderfill_stage_up(struct mdp4_overlay_pipe *pipe)
bspipe = ctrl->stage[mixer][MDP4_MIXER_STAGE_BASE];
/*
* bspipe is clone here
* get real pipe
*/
bspipe = mdp4_overlay_ndx2pipe(bspipe->pipe_ndx);
/* save original base layer */
ctrl->baselayer[mixer] = bspipe;