[igt-dev] [PATCH i-g-t 2/2] tests/kms_ccs: Enable CCS plane checks for Clear Color

Mika Kahola mika.kahola at intel.com
Wed Jan 15 14:38:13 UTC 2020


Enable check for Clear Color plane content.

Signed-off-by: Mika Kahola <mika.kahola at intel.com>
---
 tests/kms_ccs.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c
index 2259a4f1..82fbc43a 100644
--- a/tests/kms_ccs.c
+++ b/tests/kms_ccs.c
@@ -157,8 +157,7 @@ static void check_all_ccs_planes(int drm_fd, igt_fb_t *fb)
 	int i;
 
 	for (i = 0; i < fb->num_planes; i++) {
-		if (igt_fb_is_ccs_plane(fb, i) &&
-		    !igt_fb_is_gen12_ccs_cc_plane(fb, i))
+		if (igt_fb_is_ccs_plane(fb, i))
 			check_ccs_plane(drm_fd, fb, i);
 	}
 }
-- 
2.17.1



More information about the igt-dev mailing list