If the blitter is not available, we cannot use it as a source for dirty
rectangles. We shall have to rely on the other engines to create GPU
dirty instead.

Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk>
---
 tests/kms_frontbuffer_tracking.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 8754cc461..7ceffd502 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -3369,6 +3369,8 @@ static const char *flip_str(enum flip_type flip)
        for (t.plane = 0; t.plane < PLANE_COUNT; t.plane++) {              \
        for (t.fbs = 0; t.fbs < FBS_COUNT; t.fbs++) {                      \
        for (t.method = 0; t.method < IGT_DRAW_METHOD_COUNT; t.method++) { \
+               if (t.method == IGT_DRAW_BLT && !gem_has_blitter(drm.fd))  \
+                       continue;                                          \
                if (t.pipes == PIPE_SINGLE && t.screen == SCREEN_SCND)     \
                        continue;                                          \
                if (t.screen == SCREEN_OFFSCREEN && t.plane != PLANE_PRI)  \
-- 
2.17.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to