summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-06-23 15:25:39 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2014-08-21 14:54:01 +0100
commit0d4cf057f518b079b7aa3d55f0ee14903b5abbcc (patch)
tree6b6c20afab3bbecebe5bdac6190591daf996ca63 /tests
parent3149b8e903ecdbd7fadbbfcd9d3fdddf11b444a7 (diff)
kms_render: 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/kms_render.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/kms_render.c b/tests/kms_render.c
index f4579298..db2ed458 100644
--- a/tests/kms_render.c
+++ b/tests/kms_render.c
@@ -125,10 +125,12 @@ static int test_format(const char *test_name,
width = mode->hdisplay;
height = mode->vdisplay;
- if (!igt_create_fb(drm_fd, width, height, format, false, &fb[0]))
+ if (!igt_create_fb(drm_fd, width, height, format, I915_TILING_NONE,
+ &fb[0]))
goto err1;
- if (!igt_create_fb(drm_fd, width, height, format, false, &fb[1]))
+ if (!igt_create_fb(drm_fd, width, height, format, I915_TILING_NONE,
+ &fb[1]))
goto err2;
if (drmModeSetCrtc(drm_fd, cconf->crtc->crtc_id, fb[0].fb_id,