msm: kgsl: Detect long IB per submission

Currently long IB is detected per GPU command, this mainly
detects infinate shaders, this policy is changed to trigger
long IB per submission. If any submission to GPU takes more
than 2 seconds of GPU time, trigger a long IB and mark the
context bad.

Change-Id: Ic6e9a677bd1e42444d38d2a859a58721345958f5
Signed-off-by: Tarun Karra <tkarra@codeaurora.org>
1 file changed