From 260df259ce3b7e56adbb8fd223a5de2e84774c14 Mon Sep 17 00:00:00 2001 From: Robert Foss Date: Wed, 18 Jan 2017 11:26:12 -0500 Subject: lib/igt_kms: Rename kmstest properties nplanes and plane Rename these properties to have them use the same naming convention as the igt_*_t structs. Signed-off-by: Robert Foss Reviewed-by: Mika Kahola --- tests/kms_plane_lowres.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/kms_plane_lowres.c') diff --git a/tests/kms_plane_lowres.c b/tests/kms_plane_lowres.c index 858cc482..424ecb97 100644 --- a/tests/kms_plane_lowres.c +++ b/tests/kms_plane_lowres.c @@ -181,11 +181,11 @@ test_setup(data_t *data, enum pipe pipe, uint64_t modifier, int flags, igt_output_set_pipe(output, pipe); kmstest_get_crtc(pipe, &crtc); - igt_skip_on(crtc.nplanes > data->display.pipes[pipe].n_planes); - igt_skip_on(crtc.nplanes == 0); + igt_skip_on(crtc.n_planes > data->display.pipes[pipe].n_planes); + igt_skip_on(crtc.n_planes == 0); - for (i = 0; i < crtc.nplanes; i++) - data->plane[i] = igt_output_get_plane(output, crtc.plane[i].index); + for (i = 0; i < crtc.n_planes; i++) + data->plane[i] = igt_output_get_plane(output, crtc.planes[i].index); mode = igt_output_get_mode(output); @@ -198,7 +198,7 @@ test_setup(data_t *data, enum pipe pipe, uint64_t modifier, int flags, igt_plane_set_fb(data->plane[0], &data->fb[0]); /* yellow sprite plane in lower left corner */ - for (i = IGT_PLANE_2; i < crtc.nplanes; i++) { + for (i = IGT_PLANE_2; i < crtc.n_planes; i++) { if (data->plane[i]->is_cursor) size = 64; else -- cgit v1.2.3