Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/kms_vrr: Set VRR_ENABLED property as false for non-VRR panel as well
@ 2024-11-14 11:14 Jouni Högander
  2024-11-14 13:31 ` ✓ CI.xeBAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Jouni Högander @ 2024-11-14 11:14 UTC (permalink / raw)
  To: igt-dev; +Cc: jeevan.b, Jouni Högander

Currently we are facing problems with PSR testcases after running
negative-basic subtest. These are because VRR_ENABLED property is left
enabled by negative-basic subtest and having VRR enabled disables PSR
currently. Fix this by setting the property as false for non-VRR panel as
well.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
 tests/kms_vrr.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c
index d0db954fa..830fd8ba8 100644
--- a/tests/kms_vrr.c
+++ b/tests/kms_vrr.c
@@ -862,8 +862,7 @@ test_cmrr(data_t *data, enum pipe pipe, igt_output_t *output, uint32_t flags)
 
 static void test_cleanup(data_t *data, enum pipe pipe, igt_output_t *output)
 {
-	if (vrr_capable(output))
-		igt_pipe_set_prop_value(&data->display, pipe, IGT_CRTC_VRR_ENABLED, false);
+	igt_pipe_set_prop_value(&data->display, pipe, IGT_CRTC_VRR_ENABLED, false);
 
 	igt_plane_set_fb(data->primary, NULL);
 	igt_output_set_pipe(output, PIPE_NONE);
-- 
2.34.1


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

end of thread, other threads:[~2024-11-15  7:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-14 11:14 [PATCH i-g-t] tests/kms_vrr: Set VRR_ENABLED property as false for non-VRR panel as well Jouni Högander
2024-11-14 13:31 ` ✓ CI.xeBAT: success for " Patchwork
2024-11-14 13:40 ` ✓ Fi.CI.BAT: " Patchwork
2024-11-14 18:02 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-11-15  7:08   ` Hogander, Jouni
2024-11-15  1:01 ` ✗ CI.xeFULL: " Patchwork
2024-11-15  7:15   ` Hogander, Jouni
2024-11-15  6:06 ` [PATCH i-g-t] " Sharma, Swati2
2024-11-15  7:20   ` Hogander, Jouni

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