[PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add checks for early transport
Jeevan B
jeevan.b at intel.com
Mon May 20 09:46:20 UTC 2024
Add checks weather early transport if supported then
we check if early trasport is working.
Signed-off-by: Jeevan B <jeevan.b at intel.com>
---
tests/intel/kms_psr2_sf.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c
index 4c3e34aa0..4908f2444 100644
--- a/tests/intel/kms_psr2_sf.c
+++ b/tests/intel/kms_psr2_sf.c
@@ -916,6 +916,9 @@ static void run(data_t *data)
igt_assert_f(intel_fbc_wait_until_enabled(data->drm_fd,
data->pipe),
"FBC still disabled\n");
+ if (psr_sink_support(data->drm_fd, data->debugfs_fd, ET_MODE, NULL))
+ igt_assert_f(psr2_early_transport_check(data->debugfs_fd),
+ "PSR2 early transport not enabled\n");
data->screen_changes = 0;
--
2.25.1
More information about the igt-dev
mailing list