mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 01:00:10 +01:00
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 <tomeu.vizoso@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
b26c2b4840
commit
fa36c194fd
1 changed files with 6 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue