OSDN Git Service

msm: mdss: fix spurious wait4pingpong timeouts
authorIngrid Gallardo <ingridg@codeaurora.org>
Tue, 9 Aug 2016 22:17:44 +0000 (15:17 -0700)
committerIngrid Gallardo <ingridg@codeaurora.org>
Wed, 10 Aug 2016 00:09:36 +0000 (17:09 -0700)
commitd3a18691ec9b56c6378015a7193a312ba4326594
tree22847e5c56178e4ce4b3389c9150b3e655025eb1
parent0fdb8c8eae5e5b056157c736ea36a852b0ac2843
msm: mdss: fix spurious wait4pingpong timeouts

In some cases, the jiffies of the wait function can
jump between reads, leading to wrongly detected
ping pong timeouts. Prevent to fail in this scenario
by making sure that the time elapsed during the
wait is valid.

CRs-Fixed: 1048727
Change-Id: I3a1ecc89f379a90d9fdacf0baa9b6c8498bb93fb
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
drivers/video/fbdev/msm/mdss_mdp.h
drivers/video/fbdev/msm/mdss_mdp_intf_cmd.c