commit | b2abc453e5bd18cb3b9e86d86d1c720188a5ac94 | [log] [tgz] |
---|---|---|
author | Shubhraprakash Das <sadas@codeaurora.org> | Fri Jun 08 16:33:03 2012 -0600 |
committer | Jordan Crouse <jcrouse@codeaurora.org> | Tue Jul 03 16:11:44 2012 -0600 |
tree | ee5c8e42567abc8a59ee1a3cfc4481fab413e2e1 | |
parent | e48c2408900ed8abdce034882c90ca596f725bce [diff] |
msm: kgsl: Check if GPU is hung when reserving space in rb A busy loop is executed when we allocate space from the ringbuffer. If the GPU is hung then we can wait indefinitely in the busy loop. Add a wait time to this busy loop, and if the wait time elapses then report a GPU hang instead of waiting indefinitely. Change-Id: I035c39063cbfa25380702720f929df5319e73e61 Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>