projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
048143b
)
ddebug: fix hang detection with deferred flushes
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 23 Nov 2016 20:19:17 +0000
(21:19 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 29 Nov 2016 22:52:31 +0000
(23:52 +0100)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/ddebug/dd_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/ddebug/dd_draw.c
b/src/gallium/drivers/ddebug/dd_draw.c
index 970712cbf972187590fff2e832528fdce0422675..7bc7844fd47f2baa26ed0fbfdbf2a64b3b95c897 100644
(file)
--- 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");