Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v2 0/2] LRR test to start above midpoint for multi-mode panels
@ 2025-11-06  4:47 Naladala Ramanaidu
  2025-11-06  4:47 ` [PATCH i-g-t v2 1/2] tests/kms_vrr: Start virtual RR test above midpoint to avoid mode fallback Naladala Ramanaidu
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Naladala Ramanaidu @ 2025-11-06  4:47 UTC (permalink / raw)
  To: igt-dev; +Cc: santhosh.reddy.guddati, Naladala Ramanaidu

Update the seamless virtual RR test to begin from above the midpoint
of the VRR range when multiple modes are available. This avoids
fallback to lower physical modes near the LRR boundary, preventing
unintended clock changes and ensuring stable VRR behavior.

Naladala Ramanaidu (2):
  tests/kms_vrr: Start virtual RR test above midpoint to avoid mode
    fallback
  HAX patch do not merge

 tests/intel-ci/i915.fast-feedback.testlist | 183 +------------
 tests/intel-ci/xe-fast-feedback.testlist   | 288 +--------------------
 tests/kms_vrr.c                            |  11 +-
 3 files changed, 34 insertions(+), 448 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH i-g-t v1] tests/kms_vrr: Fix potential NULL dereference in test_cleanup
@ 2025-11-06  4:41 Naladala Ramanaidu
  2025-11-06  4:41 ` [PATCH i-g-t v2 1/2] tests/kms_vrr: Start virtual RR test above midpoint to avoid mode fallback Naladala Ramanaidu
  0 siblings, 1 reply; 13+ messages in thread
From: Naladala Ramanaidu @ 2025-11-06  4:41 UTC (permalink / raw)
  To: igt-dev; +Cc: santhosh.reddy.guddati, Naladala Ramanaidu

Add a safeguard to prevent a possible crash during the cleanup
phase of the VRR test.

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

diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c
index bcb756202..a403de473 100644
--- a/tests/kms_vrr.c
+++ b/tests/kms_vrr.c
@@ -961,7 +961,9 @@ static void test_cleanup(data_t *data, enum pipe pipe, igt_output_t *output)
 {
 	igt_pipe_set_prop_value(&data->display, pipe, IGT_CRTC_VRR_ENABLED, false);
 
-	igt_plane_set_fb(data->primary, NULL);
+	if (data->primary)
+		igt_plane_set_fb(data->primary, NULL);
+
 	igt_output_set_pipe(output, PIPE_NONE);
 	igt_output_override_mode(output, NULL);
 	igt_display_commit2(&data->display, COMMIT_ATOMIC);
-- 
2.43.0


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

end of thread, other threads:[~2025-11-10  8:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-06  4:47 [PATCH i-g-t v2 0/2] LRR test to start above midpoint for multi-mode panels Naladala Ramanaidu
2025-11-06  4:47 ` [PATCH i-g-t v2 1/2] tests/kms_vrr: Start virtual RR test above midpoint to avoid mode fallback Naladala Ramanaidu
2025-11-06  4:59   ` Reddy Guddati, Santhosh
2025-11-06  4:47 ` [PATCH i-g-t v2 2/2] HAX patch do not merge Naladala Ramanaidu
2025-11-06  7:40 ` ✗ i915.CI.BAT: failure for LRR test to start above midpoint for multi-mode panels (rev2) Patchwork
2025-11-06  7:42 ` ✓ Xe.CI.BAT: success " Patchwork
2025-11-07  0:55 ` ✗ Xe.CI.Full: failure " Patchwork
2025-11-07  8:54 ` ✓ i915.CI.BAT: success " Patchwork
2025-11-07  9:00 ` Patchwork
2025-11-07  9:13 ` Patchwork
2025-11-07 23:43 ` ✗ i915.CI.Full: failure " Patchwork
2025-11-10  8:53 ` ✓ i915.CI.Full: success " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2025-11-06  4:41 [PATCH i-g-t v1] tests/kms_vrr: Fix potential NULL dereference in test_cleanup Naladala Ramanaidu
2025-11-06  4:41 ` [PATCH i-g-t v2 1/2] tests/kms_vrr: Start virtual RR test above midpoint to avoid mode fallback Naladala Ramanaidu

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