pan/midgard: Implement blobber-db
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 14 Aug 2019 16:11:55 +0000 (09:11 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 14 Aug 2019 17:31:09 +0000 (10:31 -0700)
commit5f0f9e1333385bd59a92b3a4dc72c4f9593eca68
treece7ce0a37f67407c3f52842087cacb02e1651ac3
parent863bdd1f8dcb4b36b85f1ab80a3d44eea93a1663
pan/midgard: Implement blobber-db

We wire through some shader-db-style stats on the current shader in the
disassemble so we can get a quick estimate of shader complexity from a
trace.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Suggested-by: Rob Clark <robdclark@chromium.org>
src/panfrost/midgard/disassemble.c
src/panfrost/midgard/disassemble.h
src/panfrost/midgard/midgard_compile.c
src/panfrost/pandecode/decode.c