From 88a50c7cb151ac5fd98c7ace158c6091053697dd Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Thu, 22 Nov 2018 10:36:57 +0100 Subject: tests: Use igt_display_require Remaining tests that have been overlooked and don't need any invasive changes to limit the skipping to only the relevant parts. v2: [A rebase gone wrong] v3: Move the misplaced hunk to the right patch (Antonio). v4: Rebase, kms_content_protection is new. v5: Rebase - need to adjust kms_lease.c too. Reviewed-by: Maarten Lankhorst (v3) Cc: Antonio Argenziano Cc: Chris Wilson Acked-By: Antonio Argenziano Signed-off-by: Daniel Vetter --- tests/kms_getfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms_getfb.c') diff --git a/tests/kms_getfb.c b/tests/kms_getfb.c index 07ffd79c..ca0b01c0 100644 --- a/tests/kms_getfb.c +++ b/tests/kms_getfb.c @@ -116,7 +116,7 @@ static uint32_t get_any_prop_id(int fd) { igt_display_t display; - igt_display_init(&display, fd); + igt_display_require(&display, fd); for (int i = 0; i < display.n_outputs; i++) { igt_output_t *output = &display.outputs[i]; if (output->props[IGT_CONNECTOR_DPMS] != 0) -- cgit v1.2.3