radeonsi: Inhibit clock-gating for perf counters.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 19 Jul 2020 23:43:18 +0000 (01:43 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 20 Jul 2020 23:56:26 +0000 (23:56 +0000)
commit7b7917a42410fd02220b3aea2f51eaee94d1e746
tree65be1064f3d77461e445e03307ced0d3219484a9
parent794ba3efd7ee55b809caf66b84dc68040efdbf20
radeonsi: Inhibit clock-gating for perf counters.

Otherwise most counters return 0. Should be much more user friendly
than having to totally disable clock-gating on the kernel cmdline.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5972>
src/gallium/drivers/radeonsi/si_perfcounter.c