diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2016-06-30 11:32:10 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2016-07-26 14:50:21 +0200 |
commit | 0e29ce3265b40ae965cd14dfa4765a21ff50d5b7 (patch) | |
tree | 530eacf216594bbcc362ce27248d35d95498f442 /tests/kms_plane.c | |
parent | 9f45ea116539f6c1ad8cd11cd627f091d63baa4b (diff) |
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 <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Diffstat (limited to 'tests/kms_plane.c')
-rw-r--r-- | tests/kms_plane.c | 8 |
1 files changed, 3 insertions, 5 deletions
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); } |