diff options
author | Robert Foss <robert.foss@collabora.com> | 2017-01-18 11:26:12 -0500 |
---|---|---|
committer | Robert Foss <robert.foss@collabora.com> | 2017-01-31 16:19:35 -0500 |
commit | 260df259ce3b7e56adbb8fd223a5de2e84774c14 (patch) | |
tree | 2f59c2f6f25abef60dab705c7b16dd7413299e78 /tests/kms_plane_lowres.c | |
parent | 9de635976c426b4c835083792c7d4d6e32aec615 (diff) |
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 <robert.foss@collabora.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'tests/kms_plane_lowres.c')
-rw-r--r-- | tests/kms_plane_lowres.c | 10 |
1 files changed, 5 insertions, 5 deletions
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 |