[igt-dev] [i-g-t V4 05/20] tests/kms_plane: Add tiling support for XE

Bhanuprakash Modem bhanuprakash.modem at intel.com
Wed Aug 16 16:31:51 UTC 2023


Remove the tiling restrictions in Xe specific tests

V2: - Rebase

Fixes: 2b9637086 (tests/kms_plane: Add XE support)
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
Reviewed-by: Kunal Joshi <kunal1.joshi at intel.com>
---
 tests/kms_plane.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 721d3b533..d8b5dca9c 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -1064,10 +1064,6 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
 			.modifier = plane->modifiers[i],
 		};
 
-		if (is_xe_device(data->drm_fd) &&
-		    f.modifier != DRM_FORMAT_MOD_LINEAR)
-			continue;
-
 		/* igt doesn't know how to sw generate UBWC: */
 		if (is_msm_device(data->drm_fd) &&
 		    f.modifier == DRM_FORMAT_MOD_QCOM_COMPRESSED)
-- 
2.40.0



More information about the igt-dev mailing list