summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorRyan Neph <ryanneph@google.com>2022-05-12 12:38:15 -0700
committerMarge Bot <emma+marge@anholt.net>2022-05-18 16:08:49 +0000
commit7a4bf8e319eb32e4e3fac1bac0d8e0c02559adca (patch)
tree850a09c5e82d3eb3fe60b4ddd5dfaafc62b0fe2a /server
parentf62a0feb2519835211681ce25a1346fb8b7141e5 (diff)
virgl: pass uint64_t fence_id to write_context_fence
Signed-off-by: Ryan Neph <ryanneph@google.com> Part-of: <https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/806>
Diffstat (limited to 'server')
-rw-r--r--server/render_virgl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/render_virgl.c b/server/render_virgl.c
index 5817363..6cc82ac 100644
--- a/server/render_virgl.c
+++ b/server/render_virgl.c
@@ -71,13 +71,13 @@ static void
render_virgl_cb_write_context_fence(UNUSED void *cookie,
uint32_t ctx_id,
uint64_t queue_id,
- void *fence_cookie)
+ uint64_t fence_id)
{
struct render_context *ctx = render_virgl_lookup_context(ctx_id);
assert(ctx);
const uint32_t ring_idx = queue_id;
- const uint32_t seqno = (uint32_t)pointer_to_uintptr(fence_cookie);
+ const uint32_t seqno = (uint32_t)fence_id;
render_context_update_timeline(ctx, ring_idx, seqno);
}