From patchwork Tue Jan 24 11:57:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Wilson X-Patchwork-Id: 9535037 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BDA1F6042D for ; Tue, 24 Jan 2017 11:58:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF88726E46 for ; Tue, 24 Jan 2017 11:58:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A210426E55; Tue, 24 Jan 2017 11:58:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1060926E46 for ; Tue, 24 Jan 2017 11:58:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 47D9D6E125; Tue, 24 Jan 2017 11:58:03 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8138A6E125; Tue, 24 Jan 2017 11:58:02 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id c85so34030773wmi.1; Tue, 24 Jan 2017 03:58:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=Fd9wMfh56jCR9cMW7MRSUfjfCrhnEu0H7wnaG3ojrC4=; b=AutdrfdPcqnlJg3B0eLmV4/rAGktQUGmQhqiE8LP9tQIwKA4yF7oR9UgyMbH7w5vQ4 tKsu8MmAfroEIJi4QBhJPAIajLv/lCJN4BOY4JchiQZTkCyKIIyw1almrsAMOhYp4yvT 84weupYQ/M6Uk/RowgJ7O/Xeo7cvdiTjsIi2x0u1byoB/zVfdr0g9mR9OiZ3DwsmpOjB jvFm3o9jChVaRRXFqYAv1H4aFa0RZOcU9ktiTew+CT+iZMhg2IzNgaOef+tOjiIVMQck TbvAjrwhGmL6hl3UW3v/XlH0HBt7YQlq9KtQ/qpV+TlB5TUzr72Zh2fOEZWLOhd+ko68 BlXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=Fd9wMfh56jCR9cMW7MRSUfjfCrhnEu0H7wnaG3ojrC4=; b=BuVf9m6jfvzoOa8ZLBQnxlKTsAn/Ts24W3T2+ePPtviMWvZYUfb/SMU7ShKH55wYBb SUp5aj5mz/l8FmIXNhoJdP5nYFbVuFsDK9iX6oUisKK0IiP3E2IWimMzNzIhy87uwQNO HAS//ZMtmakSTXxxDmp01i3nadNlsPeFdz00oREx5iWa4j0rsPhv/rxLr+xiTAcySpa5 K/b0AdN/wV19BQUCz3TBj/90RESWBB2S+JzBgRDL08wVV+37V2yTsDINGTHu6jxcD0r7 s7GEqBAaSb+K6KIcrXg0UVEwx1oOabbJaiRbWMjSXYQyq6o18GjrepxX6hZFWpC53x+2 +A1Q== X-Gm-Message-State: AIkVDXK7MAUqiOYkys6zrMrXV4QZLA9U/ZJsDHVmtFa4ejP7ka9nAoYoI2S7xzwtKpTV8g== X-Received: by 10.28.5.70 with SMTP id 67mr17187491wmf.32.1485259080876; Tue, 24 Jan 2017 03:58:00 -0800 (PST) Received: from haswell.alporthouse.com ([78.156.65.138]) by smtp.gmail.com with ESMTPSA id 204sm25996939wmj.7.2017.01.24.03.57.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jan 2017 03:58:00 -0800 (PST) From: Chris Wilson To: dri-devel@lists.freedesktop.org Subject: [PATCH] dma/fence: Export enable-signaling tracepoint for emission by drivers Date: Tue, 24 Jan 2017 11:57:58 +0000 Message-Id: <20170124115758.31353-1-chris@chris-wilson.co.uk> X-Mailer: git-send-email 2.11.0 Cc: Daniel Vetter , intel-gfx@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 Cc: Sumit Semwal Cc: Daniel Vetter Reviewed-by: Gustavo Padovan --- 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