[PATCH 07/15] drm/etnaviv: Remove unecessary dma_fence_ops
Christian Gmeiner
christian.gmeiner at gmail.com
Fri May 4 06:59:59 UTC 2018
Am Do., 3. Mai 2018 um 16:26 Uhr schrieb Daniel Vetter <
daniel.vetter at ffwll.ch>:
> dma_fence_default_wait is the default now, same for the trivial
> enable_signaling implementation.
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
> Acked-by: Lucas Stach <l.stach at pengutronix.de>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> Cc: Lucas Stach <l.stach at pengutronix.de>
> Cc: Russell King <linux+etnaviv at armlinux.org.uk>
> Cc: Christian Gmeiner <christian.gmeiner at gmail.com>
> Cc: etnaviv at lists.freedesktop.org
> ---
> drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 7 -------
> 1 file changed, 7 deletions(-)
> diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
> index 8a88799bf79b..b78d9f49aa23 100644
> --- a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
> +++ b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c
> @@ -1038,11 +1038,6 @@ static const char
*etnaviv_fence_get_timeline_name(struct dma_fence *fence)
> return dev_name(f->gpu->dev);
> }
> -static bool etnaviv_fence_enable_signaling(struct dma_fence *fence)
> -{
> - return true;
> -}
> -
> static bool etnaviv_fence_signaled(struct dma_fence *fence)
> {
> struct etnaviv_fence *f = to_etnaviv_fence(fence);
> @@ -1060,9 +1055,7 @@ static void etnaviv_fence_release(struct dma_fence
*fence)
> static const struct dma_fence_ops etnaviv_fence_ops = {
> .get_driver_name = etnaviv_fence_get_driver_name,
> .get_timeline_name = etnaviv_fence_get_timeline_name,
> - .enable_signaling = etnaviv_fence_enable_signaling,
> .signaled = etnaviv_fence_signaled,
> - .wait = dma_fence_default_wait,
> .release = etnaviv_fence_release,
> };
> --
> 2.17.0
--
greets
--
Christian Gmeiner, MSc
https://christian-gmeiner.info
More information about the etnaviv
mailing list