summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_fence.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2017-08-24 09:34:48 -0400
committerRob Clark <[email protected]>2017-10-24 12:56:51 -0400
commiteed9685dd6619ec7598e8c3fd81117d36010510d (patch)
tree32b4b7948357bca78ac988c076070ea258f1521c /src/gallium/drivers/freedreno/freedreno_fence.c
parent9c32333a58e2792a062bd82374ea88222d718959 (diff)
freedreno: per-context fd_pipe
To enable per-context priorities, we need to have per-context pipe's. Unfortunately we still need to keep the global screen pipe, mostly just for screen->get_timestamp(). Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_fence.c')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_fence.c b/src/gallium/drivers/freedreno/freedreno_fence.c
index f20c6ac120e..e3d200aa3a1 100644
--- a/src/gallium/drivers/freedreno/freedreno_fence.c
+++ b/src/gallium/drivers/freedreno/freedreno_fence.c
@@ -69,7 +69,7 @@ boolean fd_fence_finish(struct pipe_screen *pscreen,
return ret == 0;
}
- if (fd_pipe_wait_timeout(fence->screen->pipe, fence->timestamp, timeout))
+ if (fd_pipe_wait_timeout(fence->ctx->pipe, fence->timestamp, timeout))
return false;
return true;