Skip to contentSkip to conversation

kms_crash: Check that KMS client crashes are properly handled

PATCH New Tvrtko Ursulin 1 participant 1 message Sep 24, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kms_crash: Check that KMS client crashes are properly handled

From: Tvrtko Ursulin <[email protected]>

Check that frame buffers are torn down when a client dies.

Later could be extended with a CRC based test to check whether a later client can inherit a plane left from an earlier one. There could be some interesting data or images on that plane.

---
 tests/.gitignore       |   1 +
 tests/Makefile.sources |   1 +
 tests/kms_crash.c      | 146 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 148 insertions(+)
 create mode 100644 tests/kms_crash.c
tests/.gitignore +1 -0
index dc8bb539a754..a7dc10713b42 100644
@@ -125,6 +125,7 @@ gen3_render_tiledy_blits
 gen7_forcewake_mt
 kms_3d
 kms_addfb_basic
+kms_crash
 kms_crtc_background_color
 kms_cursor_crc
 kms_draw_crc
tests/Makefile.sources +1 -0
index 2e2e088a3aa1..8a2119d3df8f 100644
@@ -63,6 +63,7 @@ TESTS_progs_M = \
 	gem_userptr_blits \
 	gem_write_read_ring_switch \
 	kms_addfb_basic \
+	kms_crash \
 	kms_cursor_crc \
 	kms_draw_crc \
 	kms_fbc_crc \
tests/kms_crash.c new file +146 -0

146 lines not on this page · raw message

Signature · 6 lines
2.5.1

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