freedreno/decode: Lookup device info
authorRob Clark <robdclark@chromium.org>
Wed, 20 Sep 2023 22:59:18 +0000 (15:59 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 22 Sep 2023 19:17:14 +0000 (19:17 +0000)
commitebdac80b0d884b78b7943bb3c1b66b5b8736e78e
treea73d37fc353074f7c4ac95ef9a61aab5b913b88e
parentae99a3d76c527699cca11809aafa12fc769a7f8b
freedreno/decode: Lookup device info

First step for migration to chip_id.  With newer devices we won't be
able to decode the chip_id in any meaningful way, ie. it is just a
number.  But we can use the device table to figure out things like
generation which are needed to properly decode cmdstream, etc.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25333>
src/freedreno/.gitlab-ci/reference/crash.log
src/freedreno/.gitlab-ci/reference/crash_prefetch.log
src/freedreno/.gitlab-ci/reference/prefetch-test.log
src/freedreno/decode/cffdec.h
src/freedreno/decode/cffdump.c
src/freedreno/decode/crashdec.c
src/freedreno/decode/crashdec.h