Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

Commit

Permalink
fbdev: msm: check for hdmi as primary
Browse files Browse the repository at this point in the history
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 <[email protected]>
[kras: Apply now as it was ignored with LA.UM.7.2.r1-07400-sdm660.0 merge]
Signed-off-by: Albert I <[email protected]>
Signed-off-by: Abhishek AN <[email protected]>
  • Loading branch information
raghavendra ambadas authored and DarkAbhi committed Oct 8, 2019
1 parent cf71891 commit 4490fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fbdev/msm/mdss_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -3584,7 +3584,7 @@ static int mdss_fb_pan_display(struct fb_var_screeninfo *var,
* 2. When the splash handoff is pending.
*/
if ((mfd->switch_state != MDSS_MDP_NO_UPDATE_REQUESTED) ||
mdata->handoff_pending) {
(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;
Expand Down

0 comments on commit 4490fbb

Please sign in to comment.