[PATCH i-g-t 3/3] tests/i915/kms_big_fb: take out blitter fallback path as it is replaced with Cairo
Juha-Pekka Heikkila
juhapekka.heikkila at gmail.com
Thu Dec 21 09:49:03 UTC 2023
After adding cairo fallback path blitter path will never be used anymore
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
---
tests/intel/kms_big_fb.c | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/tests/intel/kms_big_fb.c b/tests/intel/kms_big_fb.c
index 768dac0d2..1a4929fc7 100644
--- a/tests/intel/kms_big_fb.c
+++ b/tests/intel/kms_big_fb.c
@@ -258,20 +258,9 @@ static void copy_pattern(data_t *data,
/*
* We expect the kernel to limit the max fb
* size/stride to something that can still
- * rendered with the blitter/render engine.
+ * rendered with the render engine.
*/
- if (data->render_copy) {
- data->render_copy(data->ibb, src, sx, sy, w, h, dst, dx, dy);
- } else {
- w = min(w, src_fb->width - sx);
- w = min(w, dst_fb->width - dx);
-
- h = min(h, src_fb->height - sy);
- h = min(h, dst_fb->height - dy);
-
- intel_bb_blt_copy(data->ibb, src, sx, sy, src->surface[0].stride,
- dst, dx, dy, dst->surface[0].stride, w, h, dst->bpp);
- }
+ data->render_copy(data->ibb, src, sx, sy, w, h, dst, dx, dy);
fini_buf(dst);
fini_buf(src);
@@ -1123,10 +1112,10 @@ igt_main
/*
* Gen3 render engine is limited to 2kx2k, whereas
- * the display engine can do 4kx4k. Use the blitter
+ * the display engine can do 4kx4k. Use fallback cairo path
* on gen3 to avoid exceeding the render engine limits.
* On gen2 we could use either, but let's go for the
- * blitter there as well.
+ * cairo there as well.
*/
if (intel_display_ver(data.devid) >= 4)
data.render_copy = igt_get_render_copyfunc(data.devid);
--
2.25.1
More information about the igt-dev
mailing list