Skip to content

Commit

Permalink
hwc: Avoid partial frame update on secure display
Browse files Browse the repository at this point in the history
On configuring for secure display, MDP switches to secured
memory bank. Invoking any more DCS panel commands which
follows non-secure path will cause XPU violation. So its
necessary for HWC to turn off partial update to avoid DCS
commands due to ROI change.

Change-Id: Ibcc24d34d3cb825b027c116ac6a4d841d9cb9b70
  • Loading branch information
Jeykumar Sankaran authored and Simon Wilson committed Jan 9, 2015
1 parent afb0630 commit 7249973
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions msm8226/libhwcomposer/hwc_mdpcomp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,8 @@ bool MDPComp::canPartialUpdate(hwc_context_t *ctx,
mDpy ) {
return false;
}
if(ctx->listStats[mDpy].secureUI)
return false;
return true;
}

Expand Down

0 comments on commit 7249973

Please sign in to comment.