Skip to content

add support for testing clone output configs

Imre Deak intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib: shorten DP/eDP connector nameslib/drmtest.c+2 -20 replies
2/4lib: handle SIGSEGV similarly to other error signalslib/drmtest.c+1 -10 replies
3/4lib: add subtest extra command line option handlinglib/drmtest.c lib/drmtest.h+81 -103 replies
4/4tests: add kms_setmodetests/.gitignore tests/Makefile.am tests/kms_setmode.c+741 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [igt PATCH 0/4] add support for testing clone output configs

Based on irc discussions with Chris/Daniel we needed a new test case that iterates through all clone output configurations, so this patchset adds one.

I tested it on ilk, ivb, hsw. One case triggered a DP link training error on ilk. Got some HW state readout/check WARNS on others. On my hsw desktop some hdmi+dp configurations fail, although they seem to be valid. Also here enabling hdmi sometimes ends up outputting something on the dp connector, so perhaps it's some sort of hdmi vs. dp physical port sharing that Ville told me about, but I haven't figured yet out the exact reason for any of these.

Note that this will take a while to run especially if you have 3 displays connected...

Imre Deak (4):
lib: shorten DP/eDP connector names
lib: handle SIGSEGV similarly to other error signals
lib: add subtest extra command line option handling
tests: add kms_setmode

 lib/drmtest.c       |  91 ++++++-
 lib/drmtest.h       |   6 +
 tests/.gitignore    |   1 +
 tests/Makefile.am   |   1 +
 tests/kms_setmode.c | 739 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 825 insertions(+), 13 deletions(-)
 create mode 100644 tests/kms_setmode.c
Signature · 1 line
1.8.3.2