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

Jouni Högander jouni.hogander at intel.com
Thu Jun 13 09:25:12 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>
Reviewed-by: Kunal Joshi <kunal1.joshi 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