summaryrefslogtreecommitdiff
path: root/tests/kms_plane_alpha_blend.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2018-11-22 10:36:57 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2018-11-27 09:50:04 +0100
commit88a50c7cb151ac5fd98c7ace158c6091053697dd (patch)
tree28344b80ee4db2ca91125eeacaf1125dcf20cec6 /tests/kms_plane_alpha_blend.c
parent26a6f411ad9c1200a54e7f0542b0f8f4ecb9ce06 (diff)
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 <maarten.lankhorst@linux.intel.com> (v3) Cc: Antonio Argenziano <antonio.argenziano@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Acked-By: Antonio Argenziano <antonio.argenziano@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/kms_plane_alpha_blend.c')
-rw-r--r--tests/kms_plane_alpha_blend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_plane_alpha_blend.c b/tests/kms_plane_alpha_blend.c
index 3fab118a..1d9d8933 100644
--- a/tests/kms_plane_alpha_blend.c
+++ b/tests/kms_plane_alpha_blend.c
@@ -565,7 +565,7 @@ igt_main
igt_fixture {
data.gfx_fd = drm_open_driver(DRIVER_ANY);
igt_require_pipe_crc(data.gfx_fd);
- igt_display_init(&data.display, data.gfx_fd);
+ igt_display_require(&data.display, data.gfx_fd);
igt_require(data.display.is_atomic);
}