[PATCH i-g-t 4/4] tests/intel/kms_psr_stress_test: Provide output to psr_wait_entry

Jouni Högander jouni.hogander at intel.com
Tue May 21 09:02:33 UTC 2024


Psr_wait_entry requires providing output if Panel Replay PSR modes are
used.

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

diff --git a/tests/intel/kms_psr_stress_test.c b/tests/intel/kms_psr_stress_test.c
index bca3bd513..d6e2340b8 100644
--- a/tests/intel/kms_psr_stress_test.c
+++ b/tests/intel/kms_psr_stress_test.c
@@ -232,7 +232,7 @@ static void prepare(data_t *data)
 
 	data->initial_state = psr_get_mode(data->debugfs_fd, NULL);
 	igt_require(data->initial_state != PSR_DISABLED);
-	igt_require(psr_wait_entry(data->debugfs_fd, data->initial_state, NULL));
+	igt_require(psr_wait_entry(data->debugfs_fd, data->initial_state, data->output));
 }
 
 static void cleanup(data_t *data)
-- 
2.34.1



More information about the igt-dev mailing list