pps: Gfx-pps v0.3.0
authorAntonio Caggiano <antonio.caggiano@collabora.com>
Thu, 18 Mar 2021 17:30:45 +0000 (18:30 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 7 May 2021 13:41:38 +0000 (13:41 +0000)
commit1cc72b2aef82373247466c2e7b81970c867ad0fa
tree907e888a0f06e61ccf64fbd61c9d7ab8131c179d
parenta0738525ed8ab6de1eabc210290c6c2a5921863c
pps: Gfx-pps v0.3.0

Add the gfx-pps backbone in `src/pps`.

v2: Simplify supported drivers creation.
v3: No default getter is provided for counters.
v4: Open DRM device in read/write mode.
v5: Wait for datasource to be started.
v6: Set FIFO scheduler while sampling counters.

Signed-off-by: Antonio Caggiano <antonio.caggiano@collabora.com>
Acked-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: John Bates <jbates@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9652>
18 files changed:
meson.build
meson_options.txt
src/meson.build
src/tool/meson.build [new file with mode: 0644]
src/tool/pps/.clang-format [new file with mode: 0644]
src/tool/pps/meson.build [new file with mode: 0644]
src/tool/pps/pps.cc [new file with mode: 0644]
src/tool/pps/pps.h [new file with mode: 0644]
src/tool/pps/pps_algorithm.h [new file with mode: 0644]
src/tool/pps/pps_counter.cc [new file with mode: 0644]
src/tool/pps/pps_counter.h [new file with mode: 0644]
src/tool/pps/pps_datasource.cc [new file with mode: 0644]
src/tool/pps/pps_datasource.h [new file with mode: 0644]
src/tool/pps/pps_device.cc [new file with mode: 0644]
src/tool/pps/pps_device.h [new file with mode: 0644]
src/tool/pps/pps_driver.cc [new file with mode: 0644]
src/tool/pps/pps_driver.h [new file with mode: 0644]
src/tool/pps/pps_producer.cc [new file with mode: 0644]