projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5109f4e
)
panfrost: Call abort() when aborting on fault
author
Icecream95
<ixn@disroot.org>
Mon, 31 May 2021 11:18:07 +0000
(23:18 +1200)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 1 Jun 2021 13:27:54 +0000
(13:27 +0000)
The existing exit(EIO) wasn't getting trapped by debuggers.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11104>
src/panfrost/lib/decode.c
patch
|
blob
|
history
diff --git
a/src/panfrost/lib/decode.c
b/src/panfrost/lib/decode.c
index
6593280
..
49898b9
100644
(file)
--- a/
src/panfrost/lib/decode.c
+++ b/
src/panfrost/lib/decode.c
@@
-1150,7
+1150,7
@@
pandecode_abort_on_fault(mali_ptr jc_gpu_va)
/* Ensure the job is marked COMPLETE */
if (h.exception_status != 0x1) {
fprintf(stderr, "Incomplete job or timeout");
-
exit(EIO
);
+
abort(
);
}
} while ((jc_gpu_va = next_job));