summaryrefslogtreecommitdiff
path: root/tests/kms_mmio_vs_cs_flip.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-06-23 15:19:25 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2014-08-21 14:54:01 +0100
commitfd1317bd25944feebbd553a7c85395beb6842df0 (patch)
treee6218fca48d4b772393c932943cb2b0296dfef47 /tests/kms_mmio_vs_cs_flip.c
parent876fe198c7a47a427d49347141a70cc3f5607a55 (diff)
kms_mmio_vs_cs_flip: Adjust to the new igt_create_.*fb() API
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'tests/kms_mmio_vs_cs_flip.c')
-rw-r--r--tests/kms_mmio_vs_cs_flip.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/kms_mmio_vs_cs_flip.c b/tests/kms_mmio_vs_cs_flip.c
index 243e4244..09396a9d 100644
--- a/tests/kms_mmio_vs_cs_flip.c
+++ b/tests/kms_mmio_vs_cs_flip.c
@@ -220,17 +220,17 @@ test_plane(data_t *data, igt_output_t *output, enum pipe pipe, enum igt_plane pl
mode = igt_output_get_mode(output);
igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay,
DRM_FORMAT_XRGB8888,
- false, /* tiled */
+ I915_TILING_NONE,
1.0, 0.0, 0.0,
&red_fb);
igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay,
DRM_FORMAT_XRGB8888,
- false, /* tiled */
+ I915_TILING_NONE,
0.0, 1.0, 0.0,
&green_fb);
igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay,
DRM_FORMAT_XRGB8888,
- false, /* tiled */
+ I915_TILING_NONE,
0.0, 0.0, 1.0,
&blue_fb);
@@ -385,17 +385,17 @@ test_crtc(data_t *data, igt_output_t *output, enum pipe pipe)
mode = igt_output_get_mode(output);
igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay+1,
DRM_FORMAT_XRGB8888,
- false, /* tiled */
+ I915_TILING_NONE,
1.0, 0.0, 0.0,
&red_fb);
igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay+1,
DRM_FORMAT_XRGB8888,
- false, /* tiled */
+ I915_TILING_NONE,
0.0, 0.0, 1.0,
&blue_fb);
igt_create_color_fb(data->drm_fd, mode->hdisplay, mode->vdisplay+1,
DRM_FORMAT_XRGB8888,
- false, /* tiled */
+ I915_TILING_NONE,
0.0, 1.0, 0.0,
&green_fb);