freedreno/perfctrs/fdperf: periodically restore counters

When GPU is idle and suspends, the currently selected countables
will all reset to the first one.  So periodically restore the selected
countables.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
39 jobs for !2808 with wip/fdperf in 28 seconds (queued for 5 seconds)
detached
Status Job ID Name Coverage
  Container
passed arm_build #997880
aarch64

00:00:28

passed arm_test #997881
aarch64

00:00:27

canceled lava_arm64 #997876

canceled lava_armhf #997875

canceled x86_build #997877

canceled x86_build_old #997879

canceled x86_test #997878

 
  Build
canceled lava-build:arm64 #997883

canceled lava-build:armhf #997882

canceled meson-arm64 #997887
aarch64

canceled meson-armhf #997886
aarch64

00:00:00

canceled meson-clang #997888

canceled meson-clover #997891

canceled meson-clover-old-llvm #997892

canceled meson-i386 #997894

canceled meson-main #997885

canceled meson-mingw32-x86_64 #997895

canceled meson-testing #997884

canceled meson-vulkan #997893

canceled scons #997896

canceled scons-old-llvm #997897

canceled scons-swr #997889

canceled scons-win64 #997890

 
  Test
canceled arm64_a306_gles2 #997913
db410c

canceled arm64_a630_gles2 #997910
mesa-cheza

canceled arm64_a630_gles3 #997912
mesa-cheza

canceled arm64_a630_gles31 #997911
mesa-cheza

canceled panfrost-t760-test:armhf #997898
lava-rk3288-veyron-jaq

canceled panfrost-t860-test:arm64 #997899
lava-rk3399-gru-kevin

canceled piglit-glslparser+quick_shader #997901

canceled piglit-quick_gl #997900

canceled test-llvmpipe-gles2 #997902

canceled test-softpipe-gles2 #997903

canceled test-softpipe-gles31 1/4 #997906

canceled test-softpipe-gles3 1/2 #997904

canceled test-softpipe-gles31 2/4 #997907

canceled test-softpipe-gles31 3/4 #997908

canceled test-softpipe-gles31 4/4 #997909

canceled test-softpipe-gles3 2/2 #997905