diff options
| author | Terence Hampson <thampson@codeaurora.org> | 2013-07-03 15:52:13 -0400 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:18:43 -0700 |
| commit | dca96ad1f10dfbb2f5c65137da91aae9cd50fdaa (patch) | |
| tree | 19dd4a7c6e7ec6eb5097308e3c1d8c83463eee20 /drivers/video/fbdev | |
| parent | bd5dfd27d4033fb10793f670d0d01b68897b98e4 (diff) | |
mdss: ppp: Prevent ppp from blitting req that is already completed
During initial development a mistake was made thinking only one
thread could be in workqueue handler, which was incorrect,
so ppp would process request that had already been processed. This
would result in an IOMMU page fault in some corner case.
Change-Id: I2f2484cee5d069e171ff9edec7adc6aeb35ac2b6
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
| -rw-r--r-- | drivers/video/fbdev/msm/mdp3_ppp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdp3_ppp.c b/drivers/video/fbdev/msm/mdp3_ppp.c index 02caeeda7995..8d56c82cd270 100644 --- a/drivers/video/fbdev/msm/mdp3_ppp.c +++ b/drivers/video/fbdev/msm/mdp3_ppp.c @@ -900,8 +900,8 @@ static void mdp3_ppp_blit_wq_handler(struct work_struct *work) struct blit_req_list *req; int i, rc; - req = mdp3_ppp_next_req(&ppp_stat->req_q); mutex_lock(&ppp_stat->config_ppp_mutex); + req = mdp3_ppp_next_req(&ppp_stat->req_q); mdp3_iommu_enable(MDP3_CLIENT_PPP); mdp3_ppp_turnon(mfd, 1); |
