summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-23 16:52:49 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-26 18:50:27 +0100
commit2fc2fa547190f1ba6083ffab67f9ebfb077a544d (patch)
tree9a08be158191626098f86064000b8af247f3746e /lib
parent70182167d6d39e18d03109687918752d04165c32 (diff)
lib/igt_kms: s/kmstest_create_fb2/kmstest_create_fb/
Simplify the name since the old _fb function is now gone. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib')
-rw-r--r--lib/igt_kms.c4
-rw-r--r--lib/igt_kms.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index c752490c..ad97606f 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -299,7 +299,7 @@ uint32_t drm_format_to_bpp(uint32_t drm_format)
abort();
}
-unsigned int kmstest_create_fb2(int fd, int width, int height, uint32_t format,
+unsigned int kmstest_create_fb(int fd, int width, int height, uint32_t format,
bool tiled, struct kmstest_fb *fb)
{
uint32_t handles[4];
@@ -346,7 +346,7 @@ unsigned int kmstest_create_color_fb(int fd, int width, int height,
unsigned int fb_id;
cairo_t *cr;
- fb_id = kmstest_create_fb2(fd, width, height, format, tiled, fb);
+ fb_id = kmstest_create_fb(fd, width, height, format, tiled, fb);
igt_assert(fb_id);
cr = kmstest_get_cairo_ctx(fd, fb);
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 1f613580..519fea02 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -77,8 +77,8 @@ int kmstest_cairo_printf_line(cairo_t *cr, enum kmstest_text_align align,
double yspacing, const char *fmt, ...)
__attribute__((format (printf, 4, 5)));
-unsigned int kmstest_create_fb2(int fd, int width, int height, uint32_t format,
- bool tiled, struct kmstest_fb *fb);
+unsigned int kmstest_create_fb(int fd, int width, int height, uint32_t format,
+ bool tiled, struct kmstest_fb *fb);
unsigned int kmstest_create_color_fb(int fd, int width, int height,
uint32_t format, bool tiled,
double r, double g, double b,