summaryrefslogtreecommitdiff
path: root/tests/pm_lpsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pm_lpsp.c')
-rw-r--r--tests/pm_lpsp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/pm_lpsp.c b/tests/pm_lpsp.c
index e8033cf3..9d3884c0 100644
--- a/tests/pm_lpsp.c
+++ b/tests/pm_lpsp.c
@@ -91,15 +91,15 @@ static void screens_disabled_subtest(int drm_fd, drmModeResPtr drm_res)
static uint32_t create_fb(int drm_fd, int width, int height)
{
- struct kmstest_fb fb;
+ struct igt_fb fb;
cairo_t *cr;
uint32_t buffer_id;
- buffer_id = kmstest_create_fb(drm_fd, width, height,
+ buffer_id = igt_create_fb(drm_fd, width, height,
DRM_FORMAT_XRGB8888,
false, &fb);
- cr = kmstest_get_cairo_ctx(drm_fd, &fb);
- kmstest_paint_test_pattern(cr, width, height);
+ cr = igt_get_cairo_ctx(drm_fd, &fb);
+ igt_paint_test_pattern(cr, width, height);
cairo_destroy(cr);
return buffer_id;