msm_fb: display: update var in display commit

Need the value of var in display commit to update the double buffers.
If not, double buffering doesn't work in minui (eg. recovery and off-charger
mode)

Change-Id: I1fba52243cc781f18742131759245911d32c9b18
Signed-off-by: Devin Kim <dojip.kim@lge.com>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
This commit is contained in:
Naseer Ahmed 2013-01-17 19:08:46 -05:00 committed by Stephen Boyd
parent af49c64a88
commit 3af6972218

View file

@ -1888,6 +1888,7 @@ static int msm_fb_pan_display(struct fb_var_screeninfo *var,
{
struct mdp_display_commit disp_commit;
memset(&disp_commit, 0, sizeof(disp_commit));
disp_commit.var = *var;
disp_commit.wait_for_finish = TRUE;
return msm_fb_pan_display_ex(info, &disp_commit);
}