msm: kgsl: Fix a logical error in the gpu hang detection code
Change the GPU hang detection code to avoid the normal case is mistakely treated as GPU hang scenario. CRs-Fixed: 378488 Change-Id: Ie79a8d91e35c51ba043e7a845c9a56266277f1a0 Signed-off-by: Wei Zou <wzou@codeaurora.org>
This commit is contained in:
@@ -120,6 +120,8 @@ adreno_ringbuffer_waitspace(struct adreno_ringbuffer *rb, unsigned int numcmds,
|
||||
goto err;
|
||||
}
|
||||
|
||||
continue;
|
||||
|
||||
err:
|
||||
if (!adreno_dump_and_recover(rb->device))
|
||||
wait_time = jiffies + wait_timeout;
|
||||
|
||||
Reference in New Issue
Block a user