Fixes: d1a1c21e7621b5177feb "virgl: native fence fd support"
Cc: Robert Foss <robert.f...@collabora.com>
Cc: Emil Velikov <emil.veli...@collabora.com>
Signed-off-by: Eric Engestrom <eric.engest...@intel.com>
---
I don't know if something should be done with the fd type in this
function, so one of you might want to send another patch to fix this?
Otherwise, at least this fixes the function signature.
---
 src/gallium/drivers/virgl/virgl_context.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/virgl/virgl_context.c 
b/src/gallium/drivers/virgl/virgl_context.c
index 9be7775abd3178d4b625..f6849598ee525f5728eb 100644
--- a/src/gallium/drivers/virgl/virgl_context.c
+++ b/src/gallium/drivers/virgl/virgl_context.c
@@ -1030,7 +1030,9 @@ static void virgl_set_shader_buffers(struct pipe_context 
*ctx,
 }
 
 static void virgl_create_fence_fd(struct pipe_context *ctx,
-                               struct pipe_fence_handle **fence, int fd)
+                                  struct pipe_fence_handle **fence,
+                                  int fd,
+                                  enum pipe_fd_type type)
 {
    struct virgl_screen *rs = virgl_screen(ctx->screen);
 
-- 
Cheers,
  Eric

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to