diff options
author | Robert Foss <robert.foss@collabora.com> | 2017-01-18 11:25:39 -0500 |
---|---|---|
committer | Robert Foss <robert.foss@collabora.com> | 2017-01-31 16:19:35 -0500 |
commit | fdced48860ddf632536d212baad09814ce7ee08f (patch) | |
tree | 265fc77cb1e6f7070c9e095beda5c1ed0df6266b /tests/kms_plane_lowres.c | |
parent | 79c6a84ca85ba76c6a67a7eb35b36237f42c427e (diff) |
lib/igt_kms: Add index property to kmstest_plane struct
Add an index property which helps accessing the corresponding
igt_plane_t structure through the igt_*_get_plane() functions.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_plane_lowres.c b/tests/kms_plane_lowres.c index 93aefdaa..858cc482 100644 --- a/tests/kms_plane_lowres.c +++ b/tests/kms_plane_lowres.c @@ -185,7 +185,7 @@ test_setup(data_t *data, enum pipe pipe, uint64_t modifier, int flags, igt_skip_on(crtc.nplanes == 0); for (i = 0; i < crtc.nplanes; i++) - data->plane[i] = igt_output_get_plane(output, crtc.plane[i].plane); + data->plane[i] = igt_output_get_plane(output, crtc.plane[i].index); mode = igt_output_get_mode(output); |