panfrost: Add perf_debug macros
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 12 Jul 2021 17:55:30 +0000 (13:55 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Jul 2021 17:41:27 +0000 (17:41 +0000)
commit256f4a5b02a06ffc701baa3e4fd150796b33b28a
tree82530f9b8340145b5889717c99cbcda9508fad10
parentfae28b0fce7b36b3f31713758025e4ab8d73046b
panfrost: Add perf_debug macros

Lifted from freedreno.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11830>
src/gallium/drivers/panfrost/pan_screen.c
src/gallium/drivers/panfrost/pan_screen.h
src/panfrost/lib/pan_util.h