From 0e29ce3265b40ae965cd14dfa4765a21ff50d5b7 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Thu, 30 Jun 2016 11:32:10 +0200 Subject: igt_kms: Remove pan members from igt_plane, v2. They're duplicates with src_x/y, so just use those. Changes since v1: - Fix order of parameters in calls to igt_fb_set_position. Signed-off-by: Maarten Lankhorst Reviewed-by: Ander Conselvan de Oliveira --- tests/kms_plane.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tests/kms_plane.c') diff --git a/tests/kms_plane.c b/tests/kms_plane.c index 60b8d71d..7c01fe91 100644 --- a/tests/kms_plane.c +++ b/tests/kms_plane.c @@ -321,11 +321,9 @@ test_plane_panning_with_output(data_t *data, igt_plane_set_fb(primary, &primary_fb); if (flags & TEST_PANNING_TOP_LEFT) - igt_plane_set_panning(primary, 0, 0); + igt_fb_set_position(&primary_fb, primary, 0, 0); else - igt_plane_set_panning(primary, mode->hdisplay, mode->vdisplay); - - igt_plane_set_position(primary, 0, 0); + igt_fb_set_position(&primary_fb, primary, mode->hdisplay, mode->vdisplay); igt_display_commit(&data->display); @@ -343,7 +341,7 @@ test_plane_panning_with_output(data_t *data, /* reset states to neutral values, assumed by other tests */ igt_output_set_pipe(output, PIPE_ANY); - igt_plane_set_panning(primary, 0, 0); + igt_fb_set_position(&primary_fb, primary, 0, 0); test_fini(data); } -- cgit v1.2.3