projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44adf84
)
sync: dump sync state of fence errors
author
Erik Gilling
<konkers@android.com>
Thu, 11 Oct 2012 01:08:11 +0000
(18:08 -0700)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 22 Feb 2013 09:47:11 +0000
(17:47 +0800)
Change-Id: I297a43aadf83504993040ea875c7f22d988628f1
Signed-off-by: Erik Gilling <konkers@android.com>
drivers/base/sync.c
patch
|
blob
|
history
diff --git
a/drivers/base/sync.c
b/drivers/base/sync.c
index c086f653f61574723a51dad9ab8e01cf0ad50e07..82c317ab28a347b74f7b6fedf5a871859e2517ef 100644
(file)
--- a/
drivers/base/sync.c
+++ b/
drivers/base/sync.c
@@
-571,8
+571,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,