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_rotation_crc.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_rotation_crc.c')
-rw-r--r-- | tests/kms_rotation_crc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index 7f09df31..a57692e1 100644 --- a/tests/kms_rotation_crc.c +++ b/tests/kms_rotation_crc.c @@ -97,14 +97,14 @@ static void prepare_crtc(data_t *data, igt_output_t *output, enum pipe pipe, fb_id = igt_create_fb(data->gfx_fd, mode->hdisplay, mode->vdisplay, DRM_FORMAT_XRGB8888, - false, /* tiled */ + LOCAL_DRM_FORMAT_MOD_NONE, &data->fb); igt_assert(fb_id); fb_cursor_id = igt_create_fb(data->gfx_fd, 128, 128, DRM_FORMAT_ARGB8888, - false, /* tiled */ + LOCAL_DRM_FORMAT_MOD_NONE, &data->fb_cursor); igt_assert(fb_cursor_id); |