diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2015-03-03 14:11:01 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2015-03-12 14:23:48 +0000 |
commit | e36091d1c7010e825897dc4487f9985ab353973b (patch) | |
tree | 9551cea280183f470119d7616748c70f7744cb9f /tests/kms_plane.c | |
parent | 672e88acb72bf58f322af928b2bc636d14aa9f21 (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_plane.c')
-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 b66ab1d2..ffd31e01 100644 --- a/tests/kms_plane.c +++ b/tests/kms_plane.c @@ -79,7 +79,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, - I915_TILING_NONE, + LOCAL_DRM_FORMAT_MOD_NONE, fb_color->red, fb_color->green, fb_color->blue, &fb); igt_plane_set_fb(primary, &fb); @@ -131,7 +131,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, - I915_TILING_NONE, + LOCAL_DRM_FORMAT_MOD_NONE, fb); igt_assert(fb_id); @@ -181,7 +181,7 @@ test_plane_position_with_output(data_t *data, igt_create_color_fb(data->drm_fd, 64, 64, /* width, height */ DRM_FORMAT_XRGB8888, - I915_TILING_NONE, + LOCAL_DRM_FORMAT_MOD_NONE, 0.0, 1.0, 0.0, &sprite_fb); igt_plane_set_fb(sprite, &sprite_fb); @@ -263,7 +263,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, - I915_TILING_NONE, + LOCAL_DRM_FORMAT_MOD_NONE, fb); igt_assert(fb_id); |