diff options
author | Marek Olšák <[email protected]> | 2016-11-23 21:19:17 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-11-29 23:52:31 +0100 |
commit | 9e1dc104329562eb8a3e4a20f0320af20b9af589 (patch) | |
tree | d5b001b9c933a4f110543f3e435b2347daa4d3b7 /src/gallium/drivers/ddebug/dd_draw.c | |
parent | 048143b9d9113785d2e455e5270f762348d08761 (diff) |
ddebug: fix hang detection with deferred flushes
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ddebug/dd_draw.c')
-rw-r--r-- | src/gallium/drivers/ddebug/dd_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |