summaryrefslogtreecommitdiff
path: root/tests/kms_flip_event_leak.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2015-03-03 14:11:01 +0000
committerDamien Lespiau <damien.lespiau@intel.com>2015-03-12 14:23:48 +0000
commite36091d1c7010e825897dc4487f9985ab353973b (patch)
tree9551cea280183f470119d7616748c70f7744cb9f /tests/kms_flip_event_leak.c
parent672e88acb72bf58f322af928b2bc636d14aa9f21 (diff)
tiling: Convert framebuffer helpers to use fb modifiers
This converts the IGT API only, underneath legacy set_tiling is still used. v2: One got away in kms_flip. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'tests/kms_flip_event_leak.c')
-rw-r--r--tests/kms_flip_event_leak.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/kms_flip_event_leak.c b/tests/kms_flip_event_leak.c
index b397df48..4e9f58a0 100644
--- a/tests/kms_flip_event_leak.c
+++ b/tests/kms_flip_event_leak.c
@@ -67,7 +67,7 @@ static bool test(data_t *data, enum pipe pipe, igt_output_t *output)
igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay,
DRM_FORMAT_XRGB8888,
- true, /* tiled */
+ LOCAL_I915_FORMAT_MOD_X_TILED,
0.0, 0.0, 0.0, &fb[0]);
igt_plane_set_fb(primary, &fb[0]);
@@ -83,7 +83,7 @@ static bool test(data_t *data, enum pipe pipe, igt_output_t *output)
igt_create_color_fb(fd, mode->hdisplay, mode->vdisplay,
DRM_FORMAT_XRGB8888,
- true, /* tiled */
+ LOCAL_I915_FORMAT_MOD_X_TILED,
0.0, 0.0, 0.0, &fb[1]);
ret = drmModePageFlip(fd, output->config.crtc->crtc_id,
fb[1].fb_id, DRM_MODE_PAGE_FLIP_EVENT,