aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Jakobi2015-06-12 13:15:09 -0500
committerEmil Velikov2015-06-29 13:19:23 -0500
commit0536d33f077ef92b5e9577c32a8772dd79f31c43 (patch)
treeb92883b0049b953e690bd690ee37ddfb82ce3406 /tests/exynos/exynos_fimg2d_test.c
parent53b1081da1b05e6225d93d4a6890fba4eba8313e (diff)
downloadexternal-libgbm-0536d33f077ef92b5e9577c32a8772dd79f31c43.tar.gz
external-libgbm-0536d33f077ef92b5e9577c32a8772dd79f31c43.tar.xz
external-libgbm-0536d33f077ef92b5e9577c32a8772dd79f31c43.zip
tests/exynos: clean struct connector
Remove all unused struct members. An inspection of the git history shows that these members were also never used in the past. Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'tests/exynos/exynos_fimg2d_test.c')
-rw-r--r--tests/exynos/exynos_fimg2d_test.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c
index 64dacfab..6af9277a 100644
--- a/tests/exynos/exynos_fimg2d_test.c
+++ b/tests/exynos/exynos_fimg2d_test.c
@@ -65,17 +65,9 @@ struct fimg2d_test_case {
65struct connector { 65struct connector {
66 uint32_t id; 66 uint32_t id;
67 char mode_str[64]; 67 char mode_str[64];
68 char format_str[5];
69 unsigned int fourcc;
70 drmModeModeInfo *mode; 68 drmModeModeInfo *mode;
71 drmModeEncoder *encoder; 69 drmModeEncoder *encoder;
72 int crtc; 70 int crtc;
73 int pipe;
74 int plane_zpos;
75 unsigned int fb_id[2], current_fb_id;
76 struct timeval start;
77
78 int swap_count;
79}; 71};
80 72
81static void connector_find_mode(int fd, struct connector *c, 73static void connector_find_mode(int fd, struct connector *c,
@@ -750,8 +742,6 @@ int main(int argc, char **argv)
750 if (ret < 0) 742 if (ret < 0)
751 goto err_destroy_buffer; 743 goto err_destroy_buffer;
752 744
753 con.plane_zpos = -1;
754
755 memset(bo->vaddr, 0xff, screen_width * screen_height * 4); 745 memset(bo->vaddr, 0xff, screen_width * screen_height * 4);
756 746
757 ret = drm_set_crtc(dev, &con, fb_id); 747 ret = drm_set_crtc(dev, &con, fb_id);