Commit c77df99e authored by Jordan Crouse's avatar Jordan Crouse Committed by Carter Cooper
Browse files

msm: kgsl: Send the correct timestamp to an expired event



Instead of sending the currently expired timestamp to expired
events, send the timestamp that the event expected. This avoids
confusion for events that don't compare the actual timestamp
to the one they expected.  Canceled events send the current
timestamp when they were canceled.

The kgsl_sync handler wasn't prepared for the second case so
add a check to prevent strange things from happening on the
timeline when a event is canceled.

Change-Id: Ic0dedbad3681db6222720884688dcddb9b06bda2
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent ecbb99ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment