panfrost: Add userspace crash dump decoder and analyser
authorAdrián Larumbe <adrian.larumbe@collabora.com>
Thu, 11 Aug 2022 20:35:22 +0000 (21:35 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 31 Aug 2022 23:54:55 +0000 (23:54 +0000)
commite6e8861d7a8756649c21a6cf1aa261fae2e85ca6
tree867a9c392d485396ba1a00de68c618fd55a92ed4
parent6a4532cbabf7770b71d63db24714fc07efb280cf
panfrost: Add userspace crash dump decoder and analyser

Introduces a binary dump analyser and BO decoder whose format was partially
borrowed from etnaviv's kernel driver. It leverages the pandecode library
to analyse BO's attached to the GPU job that caused the crash.

Binary dump should be generated by a component of Panfrost's kernel driver.

Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14034>
src/panfrost/meson.build
src/panfrost/tools/meson.build [new file with mode: 0644]
src/panfrost/tools/panfrostdump.c [new file with mode: 0644]