[PATCH i-g-t 3/4] tests/kms_frontbuffer_tracking: Enable positive test on linear tiling

José Roberto de Souza jose.souza at intel.com
Wed Feb 5 01:49:53 UTC 2020


i915 is making fences not mandatory to enable FBC in newer platforms.
As BSpec do not have restrictions against tiling formats to enable
FBC it will be possible to enable FBC with linear tiling, so lets test
it.

Signed-off-by: José Roberto de Souza <jose.souza at intel.com>
---
 tests/kms_frontbuffer_tracking.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 2bd90b67..693a7dc0 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -2163,7 +2163,7 @@ static bool tiling_is_valid(int feature_flags, enum tile_type tile)
 {
 	int devid = intel_get_drm_devid(drm.fd);
 
-	if (tile == TILE_LINEAR)
+	if (tile == TILE_LINEAR && !AT_LEAST_GEN(devid, 11))
 		return false;
 
 	return true;
-- 
2.25.0



More information about the Intel-gfx-trybot mailing list