[Intel-gfx] [PATCH i-g-t] igt/kms-crc-rotation: Fix flip subtests to follow kms guidelines.
Anusha Srivatsa
anusha.srivatsa at intel.com
Wed Jan 10 06:08:29 UTC 2018
Fix flip subtest that used plaform names
in igt_require() instead of testing if rotation
property is supported on given combination of
rotation/flips.
Suggested-by: Daniel Vetter
Cc: Daniel Vetter <daniel.vetter at intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa at intel.com>
---
tests/kms_rotation_crc.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 799cf11..63f3b5b 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -394,9 +394,6 @@ static void __test_plane_rotation(data_t *data, int plane_type, bool test_bad_fo
igt_plane_t *plane;
int i;
- if (IS_CHERRYVIEW(data->devid) && pipe != PIPE_B)
- continue;
-
igt_output_set_pipe(output, pipe);
plane = igt_output_get_plane_type(output, plane_type);
@@ -837,9 +834,7 @@ igt_main
tiling_test_str(reflect_x->tiling),
rot_test_str(reflect_x->rot),
flip_test_str(reflect_x->flips)) {
- igt_require(gen >= 10 ||
- (IS_CHERRYVIEW(data.devid) && reflect_x->rot == IGT_ROTATION_0
- && reflect_x->tiling == LOCAL_I915_FORMAT_MOD_X_TILED));
+ igt_require(subtest->flips);
data.rotation = (IGT_REFLECT_X | reflect_x->rot);
data.override_tiling = reflect_x->tiling;
data.flips = reflect_x->flips;
--
2.7.4
More information about the Intel-gfx
mailing list