diff mbox

[07/15] drm/etnaviv: Remove unecessary dma_fence_ops

Message ID 20180503142603.28513-8-daniel.vetter@ffwll.ch (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Vetter May 3, 2018, 2:25 p.m. UTC
dma_fence_default_wait is the default now, same for the trivial
enable_signaling implementation.

Acked-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Russell King <linux+etnaviv@armlinux.org.uk>
Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
Cc: etnaviv@lists.freedesktop.org
---
 drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 7 -------
 1 file changed, 7 deletions(-)

Comments

Christian Gmeiner May 4, 2018, 6:59 a.m. UTC | #1
Am Do., 3. Mai 2018 um 16:26 Uhr schrieb Daniel Vetter <
daniel.vetter@ffwll.ch>:

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


Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>

> Acked-by: Lucas Stach <l.stach@pengutronix.de>
> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> Cc: Lucas Stach <l.stach@pengutronix.de>
> Cc: Russell King <linux+etnaviv@armlinux.org.uk>
> Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
> Cc: etnaviv@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
diff mbox

Patch

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,
 };