diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-08-18 16:50:07 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2014-08-21 14:54:01 +0100 |
commit | 4a8c6346e53f1fbda34a0d7d376b2a906716a38a (patch) | |
tree | 96df65942d892dd4b3e4cea5054dd2d640c76cf6 | |
parent | b013b2117964529f8e693f5da2c865258b2af42d (diff) |
kms_plane: Adjust to the new igt_create.*fb() API
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
-rw-r--r-- | tests/kms_plane.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/kms_plane.c b/tests/kms_plane.c index 42af2fb8..07b1637f 100644 --- a/tests/kms_plane.c +++ b/tests/kms_plane.c @@ -78,7 +78,7 @@ test_grab_crc(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, DRM_FORMAT_XRGB8888, - false, /* tiled */ + I915_TILING_NONE, fb_color->red, fb_color->green, fb_color->blue, &fb); igt_plane_set_fb(primary, &fb); @@ -130,7 +130,7 @@ create_fb_for_mode__position(data_t *data, drmModeModeInfo *mode, fb_id = igt_create_fb(data->drm_fd, mode->hdisplay, mode->vdisplay, DRM_FORMAT_XRGB8888, - false /* tiling */, + I915_TILING_NONE, fb); igt_assert(fb_id); @@ -179,7 +179,7 @@ test_plane_position_with_output(data_t *data, igt_create_color_fb(data->drm_fd, 64, 64, /* width, height */ DRM_FORMAT_XRGB8888, - false, /* tiled */ + I915_TILING_NONE, 0.0, 1.0, 0.0, &sprite_fb); igt_plane_set_fb(sprite, &sprite_fb); @@ -248,7 +248,7 @@ create_fb_for_mode__panning(data_t *data, drmModeModeInfo *mode, fb_id = igt_create_fb(data->drm_fd, mode->hdisplay * 2, mode->vdisplay * 2, DRM_FORMAT_XRGB8888, - false /* tiling */, + I915_TILING_NONE, fb); igt_assert(fb_id); |