msm: mdss: fix under-runs for simulator panels
While using simulator panels through debugfs, all the necessary parameters are updated except panel_max_vtotal. This parameter is used to derive bandwidth and mdp clock rate for video mode panels. So if this parameter is not updated while switching simulator panel from low to high resolution then we are under voting and under clocking MDP. This leads to under-runs. Fix this by updating panel_max_vtotal with latest v_total. Change-Id: Ia51340c597e8234d59660b43f19a841ffb96dad3 Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
This commit is contained in:
parent
306854ec6d
commit
60f017856f
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ void mdss_panel_debugfsinfo_to_panelinfo(struct mdss_panel_info *panel_info)
|
|||
pinfo->xres = pinfo->debugfs_info->xres;
|
||||
pinfo->yres = pinfo->debugfs_info->yres;
|
||||
pinfo->lcdc = pinfo->debugfs_info->lcdc;
|
||||
pinfo->panel_max_vtotal = mdss_panel_get_vtotal(pinfo);
|
||||
pinfo->mipi.frame_rate = pinfo->debugfs_info->frame_rate;
|
||||
pdata = pdata->next;
|
||||
} while (pdata);
|
||||
|
|
Loading…
Add table
Reference in a new issue