sync: dump sync state of fence errors
Change-Id: I297a43aadf83504993040ea875c7f22d988628f1 Signed-off-by: Erik Gilling <konkers@android.com>
This commit is contained in:
committed by
Iliyan Malchev
parent
d9f37aa054
commit
b93dcc91c1
@@ -583,8 +583,11 @@ int sync_fence_wait(struct sync_fence *fence, long timeout)
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
||||
if (fence->status < 0)
|
||||
if (fence->status < 0) {
|
||||
pr_info("fence error %d on [%p]\n", fence->status, fence);
|
||||
sync_dump();
|
||||
return fence->status;
|
||||
}
|
||||
|
||||
if (fence->status == 0) {
|
||||
pr_info("fence timeout on [%p] after %dms\n", fence,
|
||||
|
||||
Reference in New Issue
Block a user