drm/nouveau: remove trace_dma_fence_emit
authorChristian König <ckoenig.leichtzumerken@gmail.com>
Tue, 3 May 2022 08:59:35 +0000 (10:59 +0200)
committerLyude Paul <lyude@redhat.com>
Wed, 4 May 2022 19:15:56 +0000 (15:15 -0400)
Hardware drivers which don't have much difference between emit and init
shouldn't use this trace point.

Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: Karol Herbst <kherbst@redhat.com>
Cc: Lyude Paul <lyude@redhat.com>
Cc: nouveau@lists.freedesktop.org
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220503085935.11023-1-christian.koenig@amd.com
drivers/gpu/drm/nouveau/nouveau_fence.c

index 7f01dcf..abcac7d 100644 (file)
@@ -224,7 +224,6 @@ nouveau_fence_emit(struct nouveau_fence *fence, struct nouveau_channel *chan)
                               &fctx->lock, fctx->context, ++fctx->sequence);
        kref_get(&fctx->fence_ref);
 
-       trace_dma_fence_emit(&fence->base);
        ret = fctx->emit(fence);
        if (!ret) {
                dma_fence_get(&fence->base);