commit | fd96ba2c379ee06a0dc592df828e49f5802ce1d4 | [log] [tgz] |
---|---|---|
author | Clarence Ip <cip@codeaurora.org> | Fri Sep 09 16:45:44 2016 -0400 |
committer | Narendra Muppalla <NarendraM@codeaurora.org> | Tue Dec 20 16:45:11 2016 -0800 |
tree | f486d93adb57fd26b01bcc3c2409e1183247e43b | |
parent | cf8996bc7021334b6fae45d72eeb2dc78a77f040 [diff] |
drm/msm/sde: add helper macro for performing ktime comparisons Linux ktime events can not be directly compared if the timer has overflowed between them. This change adds a helper macro to first take the difference between the events and then compare the result against zero in an attempt to handle timer overflow situations. Change-Id: Ic32afc35fbabb757714b5a583cc384389176b239 Signed-off-by: Clarence Ip <cip@codeaurora.org>