[igt-dev] [PATCH i-g-t v4 0/3] Make sure v3d/vc4 support performance monitors
Maíra Canal
mcanal at igalia.com
Thu Jan 12 14:00:51 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 of this series is the introduction of the patch
"lib/igt_v3d: Rework igt_v3d_get_param()", which will allow the tests to skip
instead of fail. Before v3d was using do_ioctl(), so when the parameter was
invalid, the test would fail instead of skipping.
Best Regards,
- Maíra Canal
---
v1 -> v2:
- Add "lib/igt_vc4: Rework igt_vc4_get_param()" patch (Melissa Wen).
v2 -> v3:
- s/the return of/the error code of/ (Kamil Konieczny).
- Add igt_vc4_get_param() description (Kamil Konieczny).
v3 -> v4:
- Make sure that the test will skip instead of fail.
- Add "lib/igt_v3d: Rework igt_v3d_get_param()".
---
Best Regards,
- Maíra Canal
Maíra Canal (3):
lib/igt_v3d: Rework igt_v3d_get_param()
tests/v3d_perfmon: Make sure v3d supports perfmon
tests/vc4_perfmon: Make sure vc4 supports perfmon
lib/igt_v3d.c | 5 ++++-
tests/v3d/v3d_perfmon.c | 4 +++-
tests/vc4/vc4_perfmon.c | 5 +++++
3 files changed, 12 insertions(+), 2 deletions(-)
--
2.39.0
More information about the igt-dev
mailing list