From patchwork Wed Feb 19 22:23:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Wu X-Patchwork-Id: 3683831 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id ACB7C9F2EC for ; Thu, 20 Feb 2014 00:49:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E9EAB2016C for ; Thu, 20 Feb 2014 00:49:34 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 235A4201CD for ; Thu, 20 Feb 2014 00:49:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E1B3EFB004; Wed, 19 Feb 2014 16:49:23 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by gabe.freedesktop.org (Postfix) with ESMTP id 3B8FCFAF9F for ; Wed, 19 Feb 2014 14:23:33 -0800 (PST) Received: by mail-pa0-f50.google.com with SMTP id kp14so1012494pab.9 for ; Wed, 19 Feb 2014 14:23:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=DoNbpZ21PjC7ZdUhgRbv7X+0nDjpdkLdkOJey9VhTbc=; b=kT6eh1WhXy0N6LehkkE5j+0Jo9iuXL0MAcfvMEDmDuNnZmuIoeUxfI0gND+JLobRCI 26DiOwbWlNsa+QCgaY0WWV6MOcf23ARaVnWwXRT0SlY3EkDk1BPms+ZZ1bRq9FgfmTd+ mJGSxFTEaYBX+t3r0L9rCg+qqXiSUOK5J1VRYSGM39Auhp61voH+XmJZ8y94MqLwRG91 wO63/Jir3Zfcm8a079qP2p8nFIIuPNeqtmvA1PcYTmdcF2RxneIdwlwzqb7bIqYrULul HxJvVXX2yAgS++0ynxV72svXV3HwZOGiYNlDjcNk+hjejGl/Tsz/jD34EBvoFcV+JOzz k5sA== X-Received: by 10.68.136.162 with SMTP id qb2mr5061383pbb.88.1392848613081; Wed, 19 Feb 2014 14:23:33 -0800 (PST) Received: from localhost (searspoint.nvidia.com. [216.228.112.21]) by mx.google.com with ESMTPSA id ns7sm4003964pbc.32.2014.02.19.14.23.30 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 19 Feb 2014 14:23:31 -0800 (PST) From: Bryan Wu To: thierry.reding@gmail.com, tbergstrom@nvidia.com Subject: [PATCH] host1x: export host1x_syncpt_incr_max function Date: Wed, 19 Feb 2014 14:23:28 -0800 Message-Id: <1392848608-15056-1-git-send-email-cooloney@gmail.com> X-Mailer: git-send-email 1.8.3.2 X-Mailman-Approved-At: Wed, 19 Feb 2014 16:49:17 -0800 Cc: linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, swarren@wwwdotorg.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bryan Wu Tegra V4L2 camera driver needs this function to do frame capture. Signed-off-by: Bryan Wu --- include/linux/host1x.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/host1x.h b/include/linux/host1x.h index 3af8472..d2b5299 100644 --- a/include/linux/host1x.h +++ b/include/linux/host1x.h @@ -136,6 +136,7 @@ u32 host1x_syncpt_id(struct host1x_syncpt *sp); u32 host1x_syncpt_read_min(struct host1x_syncpt *sp); u32 host1x_syncpt_read_max(struct host1x_syncpt *sp); int host1x_syncpt_incr(struct host1x_syncpt *sp); +u32 host1x_syncpt_incr_max(struct host1x_syncpt *sp, u32 incrs); int host1x_syncpt_wait(struct host1x_syncpt *sp, u32 thresh, long timeout, u32 *value); struct host1x_syncpt *host1x_syncpt_request(struct device *dev,