From 9e1dc104329562eb8a3e4a20f0320af20b9af589 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 23 Nov 2016 21:19:17 +0100 Subject: [PATCH] ddebug: fix hang detection with deferred flushes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/ddebug/dd_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/ddebug/dd_draw.c b/src/gallium/drivers/ddebug/dd_draw.c index 970712cbf97..7bc7844fd47 100644 --- a/src/gallium/drivers/ddebug/dd_draw.c +++ b/src/gallium/drivers/ddebug/dd_draw.c @@ -559,7 +559,7 @@ dd_flush_and_check_hang(struct dd_context *dctx, if (!fence) return false; - idle = screen->fence_finish(screen, NULL, fence, timeout_ms * 1000000); + idle = screen->fence_finish(screen, pipe, fence, timeout_ms * 1000000); screen->fence_reference(screen, &fence, NULL); if (!idle) fprintf(stderr, "dd: GPU hang detected!\n"); -- 2.30.2