freedreno/afuc: Add emulator support to run bootstrap
authorRob Clark <robdclark@chromium.org>
Thu, 27 May 2021 19:18:53 +0000 (12:18 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 31 May 2021 23:34:43 +0000 (23:34 +0000)
commitdf14af6480c3d70134a9308f8028d5627867f572
treee7826f5b4a6b0d6decf512c42970f9c49d47ce13
parentea2e24419831854fdb6098cca0094b81250d010e
freedreno/afuc: Add emulator support to run bootstrap

Run until the packet-table is populated, so the disassembler can use
this to know the offsets of various pm4 packet handlers without having
to rely on heuristics.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10944>
src/freedreno/afuc/emu-ui.c
src/freedreno/afuc/emu.c
src/freedreno/afuc/emu.h