[PATCH i-g-t 05/12] tests/kms_big_fb: Test async flips + linear on tgl+
Ville Syrjala
ville.syrjala at linux.intel.com
Wed Dec 20 17:59:27 UTC 2023
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
i915 claims to support linear+async flips on TGL+,
so let's test that here as well.
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
tests/intel/kms_big_fb.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/intel/kms_big_fb.c b/tests/intel/kms_big_fb.c
index 6393504be7d7..75b0c4758743 100644
--- a/tests/intel/kms_big_fb.c
+++ b/tests/intel/kms_big_fb.c
@@ -930,7 +930,8 @@ static bool has_async_flip(data_t *data)
* TODO: preferably probe all this stuff with
* TEST_ONLY rather than hardcoding it...
*/
- if (data->modifier == DRM_FORMAT_MOD_LINEAR)
+ if (intel_display_ver(data->devid) < 12 &&
+ data->modifier == DRM_FORMAT_MOD_LINEAR)
return false;
return igt_has_drm_cap(data->drm_fd, DRM_CAP_ASYNC_PAGE_FLIP);
--
2.41.0
More information about the igt-dev
mailing list