From 9317f39a5e3729ac128c960a3e21d7234239b2db Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Mon, 23 Jun 2014 15:28:07 +0100 Subject: pm_lpsp: Adjust to the new igt_create.*fb() API Signed-off-by: Damien Lespiau --- tests/pm_lpsp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/pm_lpsp.c b/tests/pm_lpsp.c index 250b1406..78d6d082 100644 --- a/tests/pm_lpsp.c +++ b/tests/pm_lpsp.c @@ -84,9 +84,8 @@ static uint32_t create_fb(int drm_fd, int width, int height) cairo_t *cr; uint32_t buffer_id; - buffer_id = igt_create_fb(drm_fd, width, height, - DRM_FORMAT_XRGB8888, - false, &fb); + buffer_id = igt_create_fb(drm_fd, width, height, DRM_FORMAT_XRGB8888, + I915_TILING_NONE, &fb); cr = igt_get_cairo_ctx(drm_fd, &fb); igt_paint_test_pattern(cr, width, height); cairo_destroy(cr); -- cgit v1.2.3