summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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,