[igt-dev] [PATCH i-g-t v2 0/3] Make sure v3d/vc4 support performance monitors
Maíra Canal
mcanal at igalia.com
Tue Jan 3 14:30:45 UTC 2023
Currently, v3d and vc4 don't check if the driver supports the performance
monitor feature, which means that the tests are allowed to run even if the
driver doesn't support the tested feature. Therefore, this series adds checks
using the get_param ioctl from both drivers.
The main difference between the first and the second version of this series is
the first patch, which reworks the igt_vc4_get_param() function to adopt
do_ioctl and return the value of the parameter.
Best Regards,
- Maíra Canal
Maíra Canal (3):
lib/igt_vc4: Rework igt_vc4_get_param()
tests/vc4_perfmon: Make sure vc4 supports perfmon
tests/v3d_perfmon: Make sure v3d supports perfmon
lib/igt_vc4.c | 10 +++-------
lib/igt_vc4.h | 2 +-
tests/v3d/v3d_perfmon.c | 4 +++-
tests/vc4/vc4_perfmon.c | 1 +
tests/vc4/vc4_purgeable_bo.c | 5 +----
5 files changed, 9 insertions(+), 13 deletions(-)
--
2.38.1
More information about the igt-dev
mailing list