diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-02-11 17:45:48 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2014-02-11 17:45:48 +0000 |
commit | 2043e6b265929ad2444cede7412f73a9cbe112a5 (patch) | |
tree | 8a109e949e671e2b9e64b46b281cc3d9b919e645 | |
parent | 3386b4b2866b991b49e7386d51a3f4b9d9b681c0 (diff) |
lib: Fix igt_ouput_get_plane() typo (output)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
-rw-r--r-- | lib/igt_kms.c | 2 | ||||
-rw-r--r-- | lib/igt_kms.h | 2 | ||||
-rw-r--r-- | tests/kms_cursor_crc.c | 10 | ||||
-rw-r--r-- | tests/kms_pipe_crc_basic.c | 2 | ||||
-rw-r--r-- | tests/kms_plane.c | 6 |
5 files changed, 11 insertions, 11 deletions
diff --git a/lib/igt_kms.c b/lib/igt_kms.c index eca0f6d0..565a13ab 100644 --- a/lib/igt_kms.c +++ b/lib/igt_kms.c @@ -1407,7 +1407,7 @@ void igt_output_set_pipe(igt_output_t *output, enum pipe pipe) } } -igt_plane_t *igt_ouput_get_plane(igt_output_t *output, enum igt_plane plane) +igt_plane_t *igt_output_get_plane(igt_output_t *output, enum igt_plane plane) { igt_pipe_t *pipe; diff --git a/lib/igt_kms.h b/lib/igt_kms.h index 8c1c0a74..dd84a573 100644 --- a/lib/igt_kms.h +++ b/lib/igt_kms.h @@ -173,7 +173,7 @@ int igt_display_get_n_pipes(igt_display_t *display); const char *igt_output_name(igt_output_t *output); drmModeModeInfo *igt_output_get_mode(igt_output_t *output); void igt_output_set_pipe(igt_output_t *output, enum pipe pipe); -igt_plane_t *igt_ouput_get_plane(igt_output_t *output, enum igt_plane plane); +igt_plane_t *igt_output_get_plane(igt_output_t *output, enum igt_plane plane); void igt_plane_set_fb(igt_plane_t *plane, struct kmstest_fb *fb); void igt_plane_set_position(igt_plane_t *plane, int x, int y); diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c index e8c923fe..f98fbdb5 100644 --- a/tests/kms_cursor_crc.c +++ b/tests/kms_cursor_crc.c @@ -78,7 +78,7 @@ static void do_single_test(test_data_t *test_data, int x, int y) printf("."); fflush(stdout); - cursor = igt_ouput_get_plane(test_data->output, IGT_PLANE_CURSOR); + cursor = igt_output_get_plane(test_data->output, IGT_PLANE_CURSOR); igt_plane_set_position(cursor, x, y); igt_display_commit(display); igt_wait_for_vblank(data->drm_fd, test_data->pipe); @@ -106,7 +106,7 @@ static void cursor_enable(test_data_t *test_data, enum cursor_type cursor_type) igt_output_t *output = test_data->output; igt_plane_t *cursor; - cursor = igt_ouput_get_plane(output, IGT_PLANE_CURSOR); + cursor = igt_output_get_plane(output, IGT_PLANE_CURSOR); igt_plane_set_fb(cursor, &data->fb[cursor_type]); igt_display_commit(display); } @@ -118,7 +118,7 @@ static void cursor_disable(test_data_t *test_data) igt_output_t *output = test_data->output; igt_plane_t *cursor; - cursor = igt_ouput_get_plane(output, IGT_PLANE_CURSOR); + cursor = igt_output_get_plane(output, IGT_PLANE_CURSOR); igt_plane_set_fb(cursor, NULL); igt_display_commit(display); } @@ -199,7 +199,7 @@ static bool prepare_crtc(test_data_t *test_data, igt_output_t *output) 0.0, 0.0, 0.0, &data->primary_fb); - primary = igt_ouput_get_plane(output, IGT_PLANE_PRIMARY); + primary = igt_output_get_plane(output, IGT_PLANE_PRIMARY); igt_plane_set_fb(primary, &data->primary_fb); igt_display_commit(display); @@ -243,7 +243,7 @@ static void cleanup_crtc(test_data_t *test_data, igt_output_t *output) kmstest_remove_fb(data->drm_fd, &data->primary_fb); - primary = igt_ouput_get_plane(output, IGT_PLANE_PRIMARY); + primary = igt_output_get_plane(output, IGT_PLANE_PRIMARY); igt_plane_set_fb(primary, NULL); igt_output_set_pipe(output, PIPE_ANY); diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c index 8a45c5b3..d74a839b 100644 --- a/tests/kms_pipe_crc_basic.c +++ b/tests/kms_pipe_crc_basic.c @@ -83,7 +83,7 @@ static void test_read_crc(data_t *data, int pipe, unsigned flags) 0.0, 1.0, 0.0, &data->fb); - primary = igt_ouput_get_plane(output, 0); + primary = igt_output_get_plane(output, 0); igt_plane_set_fb(primary, &data->fb); igt_display_commit(display); diff --git a/tests/kms_plane.c b/tests/kms_plane.c index 94f5d2cf..e3b54578 100644 --- a/tests/kms_plane.c +++ b/tests/kms_plane.c @@ -98,7 +98,7 @@ test_position_init(test_position_t *test, igt_output_t *output, enum pipe pipe) pipe, INTEL_PIPE_CRC_SOURCE_AUTO); igt_output_set_pipe(output, pipe); - primary = igt_ouput_get_plane(output, 0); + primary = igt_output_get_plane(output, 0); mode = igt_output_get_mode(output); kmstest_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, @@ -150,8 +150,8 @@ test_plane_position_with_output(data_t *data, test_position_init(&test, output, pipe); mode = igt_output_get_mode(output); - primary = igt_ouput_get_plane(output, 0); - sprite = igt_ouput_get_plane(output, plane); + primary = igt_output_get_plane(output, 0); + sprite = igt_output_get_plane(output, plane); create_fb_for_mode__position(data, mode, 100, 100, 64, 64, &primary_fb); |