All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v2 0/3] Make sure v3d/vc4 support performance monitors
@ 2023-01-03 14:30 Maíra Canal
  2023-01-03 14:30 ` [igt-dev] [PATCH i-g-t v2 1/3] lib/igt_vc4: Rework igt_vc4_get_param() Maíra Canal
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Maíra Canal @ 2023-01-03 14:30 UTC (permalink / raw)
  To: Melissa Wen, André Almeida, Petri Latvala, Maxime Ripard; +Cc: igt-dev

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-03 18:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-03 14:30 [igt-dev] [PATCH i-g-t v2 0/3] Make sure v3d/vc4 support performance monitors Maíra Canal
2023-01-03 14:30 ` [igt-dev] [PATCH i-g-t v2 1/3] lib/igt_vc4: Rework igt_vc4_get_param() Maíra Canal
2023-01-03 16:16   ` Kamil Konieczny
2023-01-03 14:30 ` [igt-dev] [PATCH i-g-t v2 2/3] tests/vc4_perfmon: Make sure vc4 supports perfmon Maíra Canal
2023-01-03 14:30 ` [igt-dev] [PATCH i-g-t v2 3/3] tests/v3d_perfmon: Make sure v3d " Maíra Canal
2023-01-03 18:17 ` [igt-dev] ✗ Fi.CI.BAT: failure for Make sure v3d/vc4 support performance monitors Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.