[PATCH] dma/fence: Export enable-signaling tracepoint for emission by drivers

Chris Wilson chris at chris-wilson.co.uk
Fri Jan 27 14:48:17 UTC 2017


On Tue, Jan 24, 2017 at 11:57:58AM +0000, Chris Wilson wrote:
> Currently this tracepoint is solely used by dma_fence_enable_sw_signaling,
> however I have a need to manually perform the hw enabling of the
> signaling and would like to emit this tracepoint for completeness.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Sumit Semwal <sumit.semwal at linaro.org>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>

Anybody for a quick ack and backmerge? :)

> ---
>  drivers/dma-buf/dma-fence.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/dma-buf/dma-fence.c b/drivers/dma-buf/dma-fence.c
> index a1bfc098ea10..d1f1f456f5c4 100644
> --- a/drivers/dma-buf/dma-fence.c
> +++ b/drivers/dma-buf/dma-fence.c
> @@ -28,6 +28,7 @@
>  
>  EXPORT_TRACEPOINT_SYMBOL(dma_fence_annotate_wait_on);
>  EXPORT_TRACEPOINT_SYMBOL(dma_fence_emit);
> +EXPORT_TRACEPOINT_SYMBOL(dma_fence_enable_signal);
>  
>  /*
>   * fence context counter: each execution context should have its own
> -- 
> 2.11.0
> 

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list