From: Tomeu Vizoso Date: Tue, 25 Jun 2019 06:22:30 +0000 (+0200) Subject: panfrost/decode: Decode exception status X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa36c194fd72067eb0fe8110283ce7f8a54b6823;p=mesa.git panfrost/decode: Decode exception status Arm's kernel driver mentions how to decode this field, which makes a bit clearer what had happened. Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig --- diff --git a/src/gallium/drivers/panfrost/pandecode/decode.c b/src/gallium/drivers/panfrost/pandecode/decode.c index 8f96624872a..4547f52e5fe 100644 --- a/src/gallium/drivers/panfrost/pandecode/decode.c +++ b/src/gallium/drivers/panfrost/pandecode/decode.c @@ -2171,8 +2171,12 @@ pandecode_replay_jc(mali_ptr jc_gpu_va, bool bifrost) if (h->job_descriptor_size) pandecode_prop("job_descriptor_size = %d", h->job_descriptor_size); - if (h->exception_status) - pandecode_prop("exception_status = %d", h->exception_status); + if (h->exception_status != 0x1) + pandecode_prop("exception_status = %x (source ID: 0x%x access: 0x%x exception: 0x%x)", + h->exception_status, + (h->exception_status >> 16) & 0xFFFF, + (h->exception_status >> 8) & 0x3, + h->exception_status & 0xFF); if (h->first_incomplete_task) pandecode_prop("first_incomplete_task = %d", h->first_incomplete_task);