summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_screen.c
diff options
context:
space:
mode:
authorSinclair Yeh <[email protected]>2017-05-03 11:48:25 -0700
committerBrian Paul <[email protected]>2017-07-17 10:09:25 -0600
commit65175df601003f5ba29dc9c088952f6454adc0d6 (patch)
tree8f61012627474f32853e247173a4e601d6ee9d40 /src/gallium/drivers/svga/svga_screen.c
parent9ee86d6db7e3ec7d356616163e0804d85e0691e4 (diff)
drivers/svga, winsys/svga/drm: Thread through timeout for fence_finish
The timeout parameter is required to implement EGL_ANDROID_native_fence_sync. v2 * Replaced default timeout from 0 to PIPE_TIMEOUT_INFINITE * Add more documentation to the new timeout parameter Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.c')
-rw-r--r--src/gallium/drivers/svga/svga_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c
index f40d151af5d..1368267d962 100644
--- a/src/gallium/drivers/svga/svga_screen.c
+++ b/src/gallium/drivers/svga/svga_screen.c
@@ -854,7 +854,7 @@ svga_fence_finish(struct pipe_screen *screen,
SVGA_DBG(DEBUG_DMA|DEBUG_PERF, "%s fence_ptr %p\n",
__FUNCTION__, fence);
- retVal = sws->fence_finish(sws, fence, 0) == 0;
+ retVal = sws->fence_finish(sws, fence, timeout, 0) == 0;
}
SVGA_STATS_TIME_POP(sws);