summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_fence.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-07-30 08:12:46 -0700
committerRob Clark <[email protected]>2019-08-02 10:24:14 -0700
commitc93eae7f108d81239a03a195db334d41322d9152 (patch)
tree6a6f5c7decab5e6088546c99b5843969152c6d9f /src/gallium/drivers/freedreno/freedreno_fence.h
parent1637a5389096f8aef1d124e5aca698b9a0fa61eb (diff)
freedreno: drop unused fd_fence_ref param
The pscreen param was just there to satisfy pipe_screen::fence_reference But some of the internal uses passed NULL for screen. Which is a bit ugly. Instead drop the param and add a shim function to plug into the screen. Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_fence.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_fence.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_fence.h b/src/gallium/drivers/freedreno/freedreno_fence.h
index 425c1906760..f0bc21bc890 100644
--- a/src/gallium/drivers/freedreno/freedreno_fence.h
+++ b/src/gallium/drivers/freedreno/freedreno_fence.h
@@ -31,10 +31,9 @@
void fd_fence_populate(struct pipe_fence_handle *fence,
uint32_t timestamp, int fence_fd);
-void fd_fence_ref(struct pipe_screen *pscreen,
- struct pipe_fence_handle **ptr,
+void fd_fence_ref(struct pipe_fence_handle **ptr,
struct pipe_fence_handle *pfence);
-bool fd_fence_finish(struct pipe_screen *screen,
+bool fd_fence_finish(struct pipe_screen *pscreen,
struct pipe_context *ctx,
struct pipe_fence_handle *pfence,
uint64_t timeout);