Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.foss@xxxxxxxxxxxxx> --- tests/kms_mmio_vs_cs_flip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/kms_mmio_vs_cs_flip.c b/tests/kms_mmio_vs_cs_flip.c index 25854020..e24299e5 100644 --- a/tests/kms_mmio_vs_cs_flip.c +++ b/tests/kms_mmio_vs_cs_flip.c @@ -191,7 +191,7 @@ static void make_gpu_busy(data_t *data, uint32_t flip_handle) * supposed to be. */ static bool -test_plane(data_t *data, igt_output_t *output, enum pipe pipe, enum igt_plane plane) +test_plane(data_t *data, igt_output_t *output, enum pipe pipe, int plane) { struct igt_fb red_fb, green_fb, blue_fb; drmModeModeInfo *mode; @@ -208,7 +208,7 @@ test_plane(data_t *data, igt_output_t *output, enum pipe pipe, enum igt_plane pl return false; } - primary = igt_output_get_plane(output, 0); + primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY); sprite = igt_output_get_plane(output, plane); mode = igt_output_get_mode(output); @@ -473,7 +473,7 @@ static void run_plane_test(data_t *data) { igt_output_t *output; - enum igt_plane plane = 1; /* testing with one sprite is enough */ + int plane = 1; /* testing with one sprite is enough */ int valid_tests = 0; enum pipe pipe; -- 2.11.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx