diff options
author | Tomeu Vizoso <[email protected]> | 2019-06-25 08:22:30 +0200 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2019-06-27 09:13:35 +0200 |
commit | fa36c194fd72067eb0fe8110283ce7f8a54b6823 (patch) | |
tree | 25226702a2d9ed336b0575b7a22e859aeb844793 /src | |
parent | b26c2b48405e58d0446caf535752cef80140405b (diff) |
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 <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/panfrost/pandecode/decode.c | 8 |
1 files changed, 6 insertions, 2 deletions
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); |