From 80baeb023223e7948ebfa22ebb4d3b706b4bc550 Mon Sep 17 00:00:00 2001 From: Lyude Date: Wed, 7 Dec 2016 19:02:04 -0500 Subject: igt_kms: Remove support for drivers with <1 drm_plane We've had support for universal planes since kernel version 3.15, so there's not really a good reason to try supporting drivers that lack plane support now. As well, the current has_universal_planes logic is broken anyway as it makes the assumption that having display planes always means we have both a primary plane and a cursor plane (this isn't true on radeon/amdgpu and nouveau). So, remove this, and just check for whether or not we have a cursor plane. Signed-off-by: Lyude Reviewed-by: Daniel Vetter --- tests/kms_plane_scaling.c | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/kms_plane_scaling.c') diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c index 4546ce54..368da09f 100644 --- a/tests/kms_plane_scaling.c +++ b/tests/kms_plane_scaling.c @@ -183,7 +183,6 @@ static void test_plane_scaling(data_t *d) int valid_tests = 0; int primary_plane_scaling = 0; /* For now */ - igt_require(d->display.has_universal_planes); igt_require(d->num_scalers); for_each_pipe_with_valid_output(display, pipe, output) { -- cgit v1.2.3