[igt-dev] [PATCH i-g-t v3 0/3] Make sure v3d/vc4 support performance monitors
Maíra Canal
mcanal at igalia.com
Tue Jan 3 17:52:42 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.
The third version of this series only added the description of the
igt_vc4_get_param() function.
---
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).
---
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 | 19 ++++++++++++-------
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, 18 insertions(+), 13 deletions(-)
--
2.38.1
More information about the igt-dev
mailing list