[Intel-gfx] [PATCH] tests/kms_addfb_basic: Set tiling in addfb25 subtest

Tomeu Vizoso tomeu.vizoso at collabora.com
Fri Apr 15 09:50:21 UTC 2016


When moving the call to gem_set_tiling into the subtests, the one needed
by addfb25-framebuffer-vs-set-tiling was left out.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
---
 tests/kms_addfb_basic.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_addfb_basic.c b/tests/kms_addfb_basic.c
index 30f312291fe7..64047303dea7 100644
--- a/tests/kms_addfb_basic.c
+++ b/tests/kms_addfb_basic.c
@@ -385,6 +385,7 @@ static void addfb25_tests(int fd)
 	}
 
 	igt_subtest("addfb25-framebuffer-vs-set-tiling") {
+		gem_set_tiling(fd, gem_bo, I915_TILING_X, 1024*4);
 		igt_require_fb_modifiers(fd);
 
 		f.modifier[0] = LOCAL_I915_FORMAT_MOD_X_TILED;
-- 
2.5.5



More information about the Intel-gfx mailing list