[Intel-gfx] [RESEND PATCH i-g-t v4 0/5] Add support for the Chamelium

Lyude lyude at redhat.com
Fri Jan 20 18:58:19 UTC 2017


Resending because I forgot to stage some files before sending this out…

This adds basic support for using the Chamelium in hotplugging tests, along
with checking video outputs.

So far there's still definitely some bugs with video capturing, however they
seem to mostly be the Chamelium's fault. Since we really need to try to at
least get basic support for this into igt, we're going to have to fix those
later. Currently the issues I've observed are:

 - Quick and successive resolution changes make the HDMI rx on the Chamelium
   barf pretty badly, and the WaitForVideoInputStable RPC call doesn't do it's
   job properly and immediately fails as a result of the video input not being
   stable.
 - DisplayPort video capturing is not reliable, and occasionally results in
   single pixel mismatches between the fb and the actual video output.

Cc: Tomeu Vizoso <tomeu at tomeuvizoso.net>

Lyude (5):
  igt_aux: Add igt_set_autoresume_delay()
  igt_kms: Add helpers for watching for sysfs hotplug events
  igt_kms: Add igt_output_from_connector
  igt_kms: Add kmstest_set_connector_broadcast_rgb()
  Add support for hotplug testing with the Chamelium

 configure.ac                                       |    4 +
 .../intel-gpu-tools/intel-gpu-tools-docs.xml       |    1 +
 lib/Makefile.am                                    |    6 +
 lib/Makefile.sources                               |    2 +
 lib/igt.h                                          |    1 +
 lib/igt_aux.c                                      |   46 +
 lib/igt_aux.h                                      |    1 +
 lib/igt_chamelium.c                                | 1346 ++++++++++++++++++++
 lib/igt_chamelium.h                                |  103 ++
 lib/igt_kms.c                                      |  171 +++
 lib/igt_kms.h                                      |   25 +
 tests/Makefile.am                                  |    5 +-
 tests/Makefile.sources                             |    1 +
 tests/chamelium.c                                  |  689 ++++++++++
 14 files changed, 2400 insertions(+), 1 deletion(-)
 create mode 100644 lib/igt_chamelium.c
 create mode 100644 lib/igt_chamelium.h
 create mode 100644 tests/chamelium.c

-- 
2.9.3



More information about the Intel-gfx mailing list