[PATCH i-g-t 2/3] lib/igt_fb: With Intel blitter path ignore legacy rules on Xe
Juha-Pekka Heikkila
juhapekka.heikkila at gmail.com
Thu Dec 21 09:49:02 UTC 2023
If running with Xe device there's no need to care about legacy
size limitations, just say blitter is ok before checking for
legacy blitter size limits.
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
---
lib/igt_fb.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 683eb176b..06374efa0 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -2513,6 +2513,9 @@ static bool blitter_ok(const struct igt_fb *fb)
is_gen12_mc_ccs_modifier(fb->modifier))
return false;
+ if (is_xe_device(fb->fd))
+ return true;
+
for (int i = 0; i < fb->num_planes; i++) {
int width = fb->plane_width[i];
--
2.25.1
More information about the igt-dev
mailing list