diff options
author | Robert Foss <robert.foss@collabora.com> | 2017-01-10 20:17:25 -0500 |
---|---|---|
committer | Robert Foss <robert.foss@collabora.com> | 2017-01-31 16:19:35 -0500 |
commit | 70fa64cf58c2d8ef661b970c119fd96680f95839 (patch) | |
tree | 7377d0110a24feeeb6688fb0efc174cd1ae543f8 /tests/kms_rmfb.c | |
parent | 34e9386a0255eabe475505bff3d905b28c0d290b (diff) |
tests/kms_rmfb: Add support for dynamic number of planes
Add changes reflecting the new support for dynamic number of planes per pipe.
Signed-off-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'tests/kms_rmfb.c')
-rw-r--r-- | tests/kms_rmfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_rmfb.c b/tests/kms_rmfb.c index 17a3065a..5753d74c 100644 --- a/tests/kms_rmfb.c +++ b/tests/kms_rmfb.c @@ -83,7 +83,7 @@ test_rmfb(struct rmfb_data *data, igt_output_t *output, enum pipe pipe, bool reo * later on. */ for_each_plane_on_pipe(&data->display, pipe, plane) { - if (plane->is_cursor) { + if (plane->type == DRM_PLANE_TYPE_CURSOR) { igt_plane_set_fb(plane, &argb_fb); igt_fb_set_size(&argb_fb, plane, cursor_width, cursor_height); igt_plane_set_size(plane, cursor_width, cursor_height); |