summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-06-23 15:28:07 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2014-08-21 14:54:01 +0100
commit9317f39a5e3729ac128c960a3e21d7234239b2db (patch)
tree0cca0366e369d3c856cb9d154c6171ac4d8bc69a /tests
parent210f76c4969d9b8ed74230116d4d212a6f503e73 (diff)
pm_lpsp: Adjust to the new igt_create.*fb() API
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/pm_lpsp.c5
1 files changed, 2 insertions, 3 deletions
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);