pps: Fix build errors.
authorVinson Lee <vlee@freedesktop.org>
Sat, 4 Mar 2023 21:26:20 +0000 (13:26 -0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 13 Mar 2023 01:22:46 +0000 (01:22 +0000)
commit29c6a098878f0e0408726607961da0e1455ca706
tree261d431669438a4689071df6ffa16fdbf7571970
parentc455ea61440696556ed0edbdcf28c9301b3f181e
pps: Fix build errors.

In file included from ../src/tool/pps/pps_device.cc:10:
../src/tool/pps/pps_device.h:23:11: error: ‘uint32_t’ does not name a type
   23 |    static uint32_t device_count();
      |           ^~~~~~~~

In file included from ../src/tool/pps/pps_counter.cc:10:
../src/tool/pps/pps_counter.h:22:4: error: ‘uint32_t’ does not name a type
   22 |    uint32_t id;
      |    ^~~~~~~~

Fixes: 1cc72b2aef8 ("pps: Gfx-pps v0.3.0")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8186
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21714>
src/tool/pps/pps_counter.h
src/tool/pps/pps_device.h