kms_fence_pin_leak: Use I915_TILING_X to create fbs
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 23 Jun 2014 14:13:46 +0000 (15:13 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Thu, 21 Aug 2014 13:54:01 +0000 (14:54 +0100)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
tests/kms_fence_pin_leak.c

index 51bc72f..93f4e16 100644 (file)
@@ -127,12 +127,12 @@ static bool run_single_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, /* need a fence so must be tiled */
+                           I915_TILING_X, /* need a fence so must be tiled */
                            0.0, 0.0, 0.0,
                            &fb[0]);
        igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay,
                            DRM_FORMAT_XRGB8888,
-                           true, /* need a fence so must be tiled */
+                           I915_TILING_X, /* need a fence so must be tiled */
                            0.0, 0.0, 0.0,
                            &fb[1]);