public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v1] kms/feature_discovery: Add VRR capability subtest per output
@ 2026-01-21  0:13 Naladala Ramanaidu
  2026-01-21  1:16 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Naladala Ramanaidu @ 2026-01-21  0:13 UTC (permalink / raw)
  To: igt-dev; +Cc: swati2.sharma, Naladala Ramanaidu

Add a dynamic "vrr" subtest that checks vrr capability on each
connected output, skipping if the driver or output lacks VRR
support.

Signed-off-by: Naladala Ramanaidu <ramanaidu.naladala@intel.com>
---
 tests/kms_feature_discovery.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/tests/kms_feature_discovery.c b/tests/kms_feature_discovery.c
index da80ecf66..bf36740cf 100644
--- a/tests/kms_feature_discovery.c
+++ b/tests/kms_feature_discovery.c
@@ -60,6 +60,10 @@
  * Description: Make sure that we have eDP panel with PSR2 support.
  * Mega feature: PSR
  *
+ * SUBTEST: vrr
+ * Description: Make sure that we have VRR support on output.
+ * Mega feature: Adaptive Sync
+ *
  * SUBTEST: dp-mst
  * Description: Make sure that we have DP-MST configuration.
  *
@@ -155,6 +159,21 @@ int igt_main() {
 			igt_require(psr_sink_support(fd, debugfs_fd, PSR_MODE_2, NULL));
 		}
 
+		igt_describe("Make sure that we have VRR support on output.");
+		igt_subtest_with_dynamic("vrr") {
+			igt_output_t *output;
+
+			for_each_connected_output(&display, output) {
+				igt_dynamic_f("%s", output->name) {
+					if (!igt_output_has_prop(output, IGT_CONNECTOR_VRR_CAPABLE))
+						igt_skip("Driver not supports VRR.\n");
+
+					if (!igt_output_get_prop(output, IGT_CONNECTOR_VRR_CAPABLE))
+						igt_skip("Output not supports VRR.\n");
+				}
+			}
+		}
+
 		igt_describe("Make sure that we have DP-MST configuration.");
 		igt_subtest("dp-mst") {
 			struct kmstest_connector_config config;
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2026-03-26  8:06 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-21  0:13 [PATCH i-g-t v1] kms/feature_discovery: Add VRR capability subtest per output Naladala Ramanaidu
2026-01-21  1:16 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-01-21  1:19 ` ✓ i915.CI.BAT: " Patchwork
2026-01-21  4:58 ` [PATCH i-g-t v1] " S, Sowmiya
2026-03-20  5:53   ` Naladala, Ramanaidu
2026-03-20  6:31     ` Naladala, Ramanaidu
2026-01-21  5:47 ` ✗ Xe.CI.Full: failure for " Patchwork
2026-01-21 11:10 ` ✓ i915.CI.Full: success " Patchwork
2026-01-22 16:18 ` [PATCH i-g-t v1] " Bilal, Mohammed
2026-03-20  5:16   ` Naladala, Ramanaidu
2026-03-20  6:43 ` [PATCH i-g-t v2] " Naladala Ramanaidu
2026-03-26  7:12   ` Sharma, Swati2
2026-03-26  8:05     ` Naladala, Ramanaidu
2026-03-20  7:25 ` ✓ Xe.CI.BAT: success for kms/feature_discovery: Add VRR capability subtest per output (rev2) Patchwork
2026-03-20  7:51 ` ✓ i915.CI.BAT: " Patchwork
2026-03-20 18:30 ` ✗ i915.CI.Full: failure " Patchwork
2026-03-21  2:47 ` ✗ Xe.CI.FULL: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox