Reviewed-by: Mika Kahola <mika.kahola@xxxxxxxxx> On Tue, 2017-01-24 at 18:33 -0500, Robert Foss wrote: > 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 2f64f633..09217b31 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 void > -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; > @@ -201,7 +201,7 @@ test_plane(data_t *data, igt_output_t *output, > enum pipe pipe, enum igt_plane pl > > igt_output_set_pipe(output, pipe); > > - 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); > @@ -455,7 +455,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; > -- Mika Kahola - Intel OTC _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx