summaryrefslogtreecommitdiff
path: root/tests/kms_cursor_crc.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-06-23 15:11:12 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2014-08-21 14:54:01 +0100
commit0c14af65eaf0d052a8263fadd53c825282576608 (patch)
treecc295852812681bb35ed1f5b414aed639a0df4c4 /tests/kms_cursor_crc.c
parent378e61e4d872136d9d106bcaae1fcafb5ce1c460 (diff)
kms_cursor_crc: Use I915_TILING_NONE to create fbs
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'tests/kms_cursor_crc.c')
-rw-r--r--tests/kms_cursor_crc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 6af30fda..47531f32 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -235,7 +235,7 @@ static bool prepare_crtc(data_t *data, igt_output_t *output,
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,
0.0, 0.0, 0.0,
&data->primary_fb);
@@ -337,7 +337,7 @@ static void create_cursor_fb(data_t *data, int cur_w, int cur_h)
uint32_t fb_id;
fb_id = igt_create_fb(data->drm_fd, cur_w, cur_h,
- DRM_FORMAT_ARGB8888, false,
+ DRM_FORMAT_ARGB8888, I915_TILING_NONE,
&data->fb);
igt_assert(fb_id);
@@ -360,7 +360,7 @@ static void test_cursor_size(data_t *data)
* smaller ones to see that the size is applied correctly
*/
fb_id = igt_create_fb(data->drm_fd, cursor_max_size, cursor_max_size,
- DRM_FORMAT_ARGB8888, false, &data->fb);
+ DRM_FORMAT_ARGB8888, I915_TILING_NONE, &data->fb);
igt_assert(fb_id);
/* Use a solid white rectangle as the cursor */