fbdev: msm: check for hdmi as primary
skip pan display operation if found hdmi as primary and handoff is pending. This check will help pan display path to execute for primary display in recovery mode. Change-Id: Iedd7e6b98f62d3a0d5b9cdda4ba4591ed8bfac68 Signed-off-by: Raghavendra Ambadas <rambad@codeaurora.org>
This commit is contained in:
parent
2b43f489a3
commit
65638ab69c
1 changed files with 3 additions and 2 deletions
|
@ -3776,8 +3776,9 @@ static int mdss_fb_pan_display(struct fb_var_screeninfo *var,
|
|||
* point, so it needs to go through PREPARE first. Abort pan_display
|
||||
* operations until that happens
|
||||
*/
|
||||
if (mfd->switch_state != MDSS_MDP_NO_UPDATE_REQUESTED) {
|
||||
pr_debug("fb%d: pan_display skipped during switch\n",
|
||||
if ((mfd->switch_state != MDSS_MDP_NO_UPDATE_REQUESTED) ||
|
||||
(mdss_fb_is_hdmi_primary(mfd) && mdata->handoff_pending)) {
|
||||
pr_debug("fb%d: pan_display skipped during switch or handoff\n",
|
||||
mfd->index);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue