Skip to content
Snippets Groups Projects
Commit da5acbfd authored by Jeff Boody's avatar Jeff Boody Committed by Patrick Tjin
Browse files

msm: kgsl: schedule the event queue after the dispatcher work queue


A race condition exists where the last retired timestamp may change
while processing the dispatcher work queue. If the next command is
a sync event that has not yet signaled a deadlock may occur.

Change-Id: I1113f2e60b8adeade65d6d979777a0aa276a172b
Signed-off-by: default avatarJeff Boody <jboody@codeaurora.org>
(cherry picked from commit 5acd3c78)
parent cfc467bb
No related branches found
No related tags found
No related merge requests found
......@@ -1378,6 +1378,9 @@ done:
mutex_unlock(&device->mutex);
mutex_unlock(&dispatcher->mutex);
/* Schedule the event queue */
queue_work(device->work_queue, &device->ts_expired_ws);
}
void adreno_dispatcher_schedule(struct kgsl_device *device)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment