[Intel-gfx] [PATCH i-g-t 4/7] kms_rotation_crc: Negative test does not need to render anything

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Wed Apr 22 08:46:45 PDT 2015


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Cc: Sonika Jindal <sonika.jindal at intel.com>
---
 tests/kms_rotation_crc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index a523527..f871e2a 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -257,7 +257,6 @@ static void test_unsupported_tiling_pixel_format(data_t *data, enum igt_plane pl
 					LOCAL_DRM_FORMAT_MOD_NONE,
 					&fb_tiling);
 			igt_assert(fb_tiling_id);
-			paint_squares(data, &fb_tiling, mode, IGT_ROTATION_0, plane);
 			igt_plane_set_fb(plane, &fb_tiling);
 			/* For the first modeset with legacy commit */
 			igt_display_commit(display);
@@ -271,7 +270,6 @@ static void test_unsupported_tiling_pixel_format(data_t *data, enum igt_plane pl
 					LOCAL_I915_FORMAT_MOD_Y_TILED,
 					&fb_565);
 			igt_assert(fb_565_id);
-			paint_squares(data, &fb_565, mode, IGT_ROTATION_0, plane);
 			igt_plane_set_fb(plane, &fb_565);
 			igt_plane_set_rotation(plane, data->rotation);
 			/* Shud fail because 90/270 is not supported with RGB565 */
-- 
2.3.5



More information about the Intel-gfx mailing list