Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd96ba2c authored by Clarence Ip's avatar Clarence Ip Committed by Narendra Muppalla
Browse files

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: default avatarClarence Ip <cip@codeaurora.org>
parent cf8996bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment