From: Icecream95 Date: Mon, 31 May 2021 11:18:07 +0000 (+1200) Subject: panfrost: Call abort() when aborting on fault X-Git-Tag: upstream/21.2.3~2657 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08a6608467acdff850db05025655b05b1b2c4348;p=platform%2Fupstream%2Fmesa.git panfrost: Call abort() when aborting on fault The existing exit(EIO) wasn't getting trapped by debuggers. Part-of: --- diff --git a/src/panfrost/lib/decode.c b/src/panfrost/lib/decode.c index 6593280..49898b9 100644 --- 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));