From e36091d1c7010e825897dc4487f9985ab353973b Mon Sep 17 00:00:00 2001 From: Tvrtko Ursulin Date: Tue, 3 Mar 2015 14:11:01 +0000 Subject: 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 Signed-off-by: Damien Lespiau --- tests/testdisplay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/testdisplay.c') diff --git a/tests/testdisplay.c b/tests/testdisplay.c index 2559cc86..6b1f2653 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -81,7 +81,7 @@ drmModeRes *resources; int drm_fd, modes; int test_all_modes = 0, test_preferred_mode = 0, force_mode = 0, test_plane, test_stereo_modes; -unsigned int tiling = I915_TILING_NONE; +uint64_t tiling = LOCAL_DRM_FORMAT_MOD_NONE; int sleep_between_modes = 5; int do_dpms = 0; /* This aliases to DPMS_ON */ uint32_t depth = 24, stride, bpp; @@ -695,7 +695,7 @@ int main(int argc, char **argv) test_preferred_mode = 1; break; case 't': - tiling = I915_TILING_X; + tiling = LOCAL_I915_FORMAT_MOD_X_TILED; break; case 'r': qr_code = 1; -- cgit v1.2.3