Skip to contentSkip to conversation

tests/kms_vblank: add PAGE_FLIP_EVENT property test

PATCH New Simon Ser 1 participant 1 message May 30 Library code

lore
Share & tools
lore

Simon Ser

author
#0 lore raw

PATCH 1/1 tests/kms_vblank: add PAGE_FLIP_EVENT property test

This patch introduces a test for the new PAGE_FLIP_EVENT CRTC property:
https://lore.kernel.org/dri-devel/[email protected]/T/#u

---
 lib/igt_kms.c      |  1 +
 lib/igt_kms.h      |  1 +
 tests/kms_vblank.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+)
lib/igt_kms.c +1 -0
index 0f1ce03a943b..b9f780445448 100644
@@ -739,6 +739,7 @@ const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
 	[IGT_CRTC_VRR_ENABLED] = "VRR_ENABLED",
 	[IGT_CRTC_SCALING_FILTER] = "SCALING_FILTER",
 	[IGT_CRTC_SHARPNESS_STRENGTH] = "SHARPNESS_STRENGTH",
+	[IGT_CRTC_PAGE_FLIP_EVENT] = "PAGE_FLIP_EVENT",
 };
 
 const char * const igt_connector_prop_names[IGT_NUM_CONNECTOR_PROPS] = {
lib/igt_kms.h +1 -0
index c2a3099de40f..80f6508f3073 100644
@@ -166,6 +166,7 @@ enum igt_atomic_crtc_properties {
        IGT_CRTC_VRR_ENABLED,
        IGT_CRTC_SCALING_FILTER,
        IGT_CRTC_SHARPNESS_STRENGTH,
+       IGT_CRTC_PAGE_FLIP_EVENT,
        IGT_NUM_CRTC_PROPS
 };
 
tests/kms_vblank.c +45 -0

57 lines not on this page · raw message

Signature · 1 line
2.54.0