summaryrefslogtreecommitdiff
path: root/tests/kms_flip_event_leak.c
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2016-04-18 09:53:27 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2016-04-25 14:21:35 +0200
commit0b741cec0ebfb4b772768aeb2f711b1eb34397a8 (patch)
tree039da45754c23dddd3accd68402a82f6fe507b44 /tests/kms_flip_event_leak.c
parent857b8b47d1ca2745ae0856548f5521463175b132 (diff)
tests/kms_flip_event_leak: Use non-tiled formats
As the test doesn't actually need tiled BOs, drop the tiled formats so the test can run on drivers other than i915. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.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 c19ed989..0a4a755e 100644
--- a/tests/kms_flip_event_leak.c
+++ b/tests/kms_flip_event_leak.c
@@ -62,7 +62,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,
- LOCAL_I915_FORMAT_MOD_X_TILED,
+ LOCAL_DRM_FORMAT_MOD_NONE,
0.0, 0.0, 0.0, &fb[0]);
igt_plane_set_fb(primary, &fb[0]);
@@ -78,7 +78,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,
- LOCAL_I915_FORMAT_MOD_X_TILED,
+ LOCAL_DRM_FORMAT_MOD_NONE,
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,