@@ -65,7 +65,7 @@ static void cursor_disable(data_t *data)
igt_output_t *output = data->output;
igt_plane_t *cursor;
- cursor = igt_output_get_plane(output, IGT_PLANE_CURSOR);
+ cursor = igt_output_get_plane_type(output, DRM_PLANE_TYPE_CURSOR);
igt_plane_set_fb(cursor, NULL);
}
@@ -249,7 +249,7 @@ static bool prepare_crtc(data_t *data)
LOCAL_DRM_FORMAT_MOD_NONE,
&data->primary_fb);
- primary = igt_output_get_plane(data->output, IGT_PLANE_PRIMARY);
+ primary = igt_output_get_plane_type(data->output, DRM_PLANE_TYPE_PRIMARY);
igt_plane_set_fb(primary, &data->primary_fb);
igt_display_commit(display);
@@ -286,7 +286,7 @@ static void cleanup_crtc(data_t *data)
igt_remove_fb(data->drm_fd, &data->primary_fb);
- primary = igt_output_get_plane(data->output, IGT_PLANE_PRIMARY);
+ primary = igt_output_get_plane_type(data->output, DRM_PLANE_TYPE_PRIMARY);
igt_plane_set_fb(primary, NULL);
igt_output_set_pipe(data->output, PIPE_ANY);
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.foss@collabora.com> --- tests/kms_chv_cursor_fail.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)