Skip to contentSkip to conversation

tests/kms_concurrent: Concurrent and interruptible subtests for atomic

PATCH In review Mika Kahola 2 participants 2 messages Apr 11, 2017 – May 3, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 tests/kms_concurrent: Concurrent and interruptible subtests for atomic

This test case introduces concurrently running test cases for atomic modesetting.

The first test or thread draws blue backround with black holes on it. These holes are covered by rectangular, blue planes that are placed randomly like in test case 'kms_plane_multiple'.

The second thread changes resolution from higher to lower one and back.

For: VIZ-7022

v2: use igt_fork instead of pthreads to create concurrent test runs (Maarten)
v3: use igt_display calls instead of raw drm calls for display updates (Maarten)
Various cleanups on accessing drm connector (Maarten)

---
 tests/Makefile.sources |   1 +
 tests/kms_concurrent.c | 429 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 430 insertions(+)
 create mode 100644 tests/kms_concurrent.c
tests/Makefile.sources +1 -0
index 45c21a0..65ffbf9 100644
@@ -115,6 +115,7 @@ TESTS_progs_M = \
 	kms_plane \
 	kms_plane_multiple \
 	kms_plane_lowres \
+	kms_concurrent \
 	kms_properties \
 	kms_psr_sink_crc \
 	kms_render \
tests/kms_concurrent.c new file +429 -0

429 lines not on this page · raw message

Signature · 6 lines
2.7.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Reviewed-by on v3 1/1
#1 lore raw

Op 11-04-17 om 11:20 schreef Mika Kahola:

Quoted 9 lines

This test case introduces concurrently running test cases for atomic modesetting.

The first test or thread draws blue backround with black holes on it. These holes are covered by rectangular, blue planes that are placed randomly like in test case 'kms_plane_multiple'.

The second thread changes resolution from higher to lower one and back.

Quoted 7 lines

For: VIZ-7022

v2: use igt_fork instead of pthreads to create concurrent test runs (Maarten)
v3: use igt_display calls instead of raw drm calls for display updates (Maarten)
Various cleanups on accessing drm connector (Maarten)

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx