[igt-dev] [PATCH i-g-t v5 0/4] Make sure v3d/vc4 support performance monitors
Maíra Canal
mcanal at igalia.com
Thu Jan 12 19:37:38 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 patches
"lib/igt_v3d: Rework igt_v3d_get_param()" and "lib/igt_vc4: Rework
igt_vc4_get_param()", which will allow the tests to skip
instead of fail.
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()".
v4 -> v5:
- Reintroduce "lib/igt_vc4: Rework igt_vc4_get_param()" (Melissa Wen).
- Add a description to the function igt_v3d_get_param().
---
Maíra Canal (4):
lib/igt_vc4: Rework igt_vc4_get_param()
tests/vc4_perfmon: Make sure vc4 supports perfmon
lib/igt_v3d: Rework igt_v3d_get_param()
tests/v3d_perfmon: Make sure v3d supports perfmon
lib/igt_v3d.c | 15 ++++++++++++++-
lib/igt_vc4.c | 17 +++++++++++++----
lib/igt_vc4.h | 2 +-
tests/v3d/v3d_perfmon.c | 4 +++-
tests/vc4/vc4_perfmon.c | 1 +
tests/vc4/vc4_purgeable_bo.c | 5 +----
6 files changed, 33 insertions(+), 11 deletions(-)
--
2.39.0
More information about the igt-dev
mailing list