Commit 144b0979 authored by Daniel Vetter's avatar Daniel Vetter

drm/vc4: Remove unecessary dma_fence_ops

dma_fence_default_wait is the default now, same for the trivial
enable_signaling implementation.

v2: Also remove the relase hook, dma_fence_free is the default.
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Cc: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180504140901.27471-1-daniel.vetter@ffwll.ch
parent 93f8252b
...@@ -33,11 +33,6 @@ static const char *vc4_fence_get_timeline_name(struct dma_fence *fence) ...@@ -33,11 +33,6 @@ static const char *vc4_fence_get_timeline_name(struct dma_fence *fence)
return "vc4-v3d"; return "vc4-v3d";
} }
static bool vc4_fence_enable_signaling(struct dma_fence *fence)
{
return true;
}
static bool vc4_fence_signaled(struct dma_fence *fence) static bool vc4_fence_signaled(struct dma_fence *fence)
{ {
struct vc4_fence *f = to_vc4_fence(fence); struct vc4_fence *f = to_vc4_fence(fence);
...@@ -49,8 +44,5 @@ static bool vc4_fence_signaled(struct dma_fence *fence) ...@@ -49,8 +44,5 @@ static bool vc4_fence_signaled(struct dma_fence *fence)
const struct dma_fence_ops vc4_fence_ops = { const struct dma_fence_ops vc4_fence_ops = {
.get_driver_name = vc4_fence_get_driver_name, .get_driver_name = vc4_fence_get_driver_name,
.get_timeline_name = vc4_fence_get_timeline_name, .get_timeline_name = vc4_fence_get_timeline_name,
.enable_signaling = vc4_fence_enable_signaling,
.signaled = vc4_fence_signaled, .signaled = vc4_fence_signaled,
.wait = dma_fence_default_wait,
.release = dma_fence_free,
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment