diff options
| author | Clarence Ip <cip@codeaurora.org> | 2016-09-09 16:45:44 -0400 |
|---|---|---|
| committer | Clarence Ip <cip@codeaurora.org> | 2016-09-09 16:45:44 -0400 |
| commit | a44cd3b3d38baf7289ac5a33c9009773fed91c66 (patch) | |
| tree | 526aab7b195f32ded604ce5fd37fb056fd63c63f /include/linux | |
| parent | 5105e4297a9bdd0013a5f44a0bd2c7712a045ad4 (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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
