drm/msm: 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: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Rob Clark <robdclark@gmail.com> Cc: linux-arm-msm@vger.kernel.org Cc: freedreno@lists.freedesktop.org Link: https://patchwork.freedesktop.org/patch/msgid/20180704092909.6599-3-daniel.vetter@ffwll.ch
This commit is contained in:
parent
a5aca5d9f4
commit
e43b9082ab
|
@ -119,11 +119,6 @@ static const char *msm_fence_get_timeline_name(struct dma_fence *fence)
|
||||||
return f->fctx->name;
|
return f->fctx->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool msm_fence_enable_signaling(struct dma_fence *fence)
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool msm_fence_signaled(struct dma_fence *fence)
|
static bool msm_fence_signaled(struct dma_fence *fence)
|
||||||
{
|
{
|
||||||
struct msm_fence *f = to_msm_fence(fence);
|
struct msm_fence *f = to_msm_fence(fence);
|
||||||
|
@ -133,10 +128,7 @@ static bool msm_fence_signaled(struct dma_fence *fence)
|
||||||
static const struct dma_fence_ops msm_fence_ops = {
|
static const struct dma_fence_ops msm_fence_ops = {
|
||||||
.get_driver_name = msm_fence_get_driver_name,
|
.get_driver_name = msm_fence_get_driver_name,
|
||||||
.get_timeline_name = msm_fence_get_timeline_name,
|
.get_timeline_name = msm_fence_get_timeline_name,
|
||||||
.enable_signaling = msm_fence_enable_signaling,
|
|
||||||
.signaled = msm_fence_signaled,
|
.signaled = msm_fence_signaled,
|
||||||
.wait = dma_fence_default_wait,
|
|
||||||
.release = dma_fence_free,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct dma_fence *
|
struct dma_fence *
|
||||||
|
|
Loading…
Reference in New Issue