Message ID | 1479885981-20186-4-git-send-email-christian.gmeiner@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> 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 E53A160778 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 23 Nov 2016 07:26:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D79A01FE95 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 23 Nov 2016 07:26:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC4B2203C0; Wed, 23 Nov 2016 07:26:47 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 DD68E1FE95 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 23 Nov 2016 07:26:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F2AD6E6C6; Wed, 23 Nov 2016 07:26:42 +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 B7F6489F43 for <dri-devel@lists.freedesktop.org>; Wed, 23 Nov 2016 07:26:31 +0000 (UTC) Received: by mail-wm0-x241.google.com with SMTP id a20so860688wme.2 for <dri-devel@lists.freedesktop.org>; Tue, 22 Nov 2016 23:26:31 -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:in-reply-to:references; bh=cNiuL6ak/DOsECTOAqCZfhA0StoIYe+ZnRA2YA8aSo4=; b=Fz7WBq3a9QMW8m3wjV8snGBaOiq8VXHvqtChcxnC/HfLutLcqIse20xvKHBjqUs67T fSWCqiw6V7udwgC9qwTPmafP/9RmVYMyoiQc5BoU0YRHTrjBuatjMvLlgh8nEy5mNiQ4 jxcQK+fERbSYsmbniY62oJoxb7bYjHE7oI6iASqY6c/7M7pq08ifI5ZeartSOc+K7blW h3DAbs4L60jW+41eUiK1ixQwHf61LGJNA2yAQ84E33y1G4CziJcc3PYHNEZF9d7MT+c1 o81SWIJz0dYRZgccHXp235dMn2NKmrsBlUm05avhAhGHROyW5Jyvy60CQc6IBJO0cl5A kG2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cNiuL6ak/DOsECTOAqCZfhA0StoIYe+ZnRA2YA8aSo4=; b=eU7J543I8e648RKhnpfhq8b7oFP/w2WG1kX8HC/vkOJcVwovIs0ofb2ffk/h+h5tR0 RuFUEzL+SJ2ZS0uDkFXBTPWw68OPnosYEWawcjNJW6smEqo1GBw+B0UmN8zzH7NrxbAo Svi7d4bIu/D0U+neX1ybhOinTB+5Y01Rh69y6vw8ZbvAT8PX7f8Y0gWo8thWKTPZT1IZ 8IGkfaLxHXviqfJCS/aoXCPOoTToywPflAEmVRkmCCnzeii0yWN2e8VTBjm7htEvbee6 0W3ErX7qNWQjz768X1hkAKQOnXNMuhrO7RQvah+2JdUlseIWIhlmIpydsh/4ZgaGi6AO YVPw== X-Gm-Message-State: AKaTC038xUfk3mdeli2ilxBEqzCAgSO39g1nsy+GSxqRm1/DG9rM50hbXhmn72QdzgxYzg== X-Received: by 10.28.41.5 with SMTP id p5mr2094701wmp.38.1479885990260; Tue, 22 Nov 2016 23:26:30 -0800 (PST) Received: from c720p.fritz.box (188-22-16-174.adsl.highway.telekom.at. [188.22.16.174]) by smtp.gmail.com with ESMTPSA id f134sm1162574wmf.19.2016.11.22.23.26.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Nov 2016 23:26:29 -0800 (PST) From: Christian Gmeiner <christian.gmeiner@gmail.com> To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm v3 3/4] etnaviv: use get_abs_timeout_ns(..) internally Date: Wed, 23 Nov 2016 08:26:20 +0100 Message-Id: <1479885981-20186-4-git-send-email-christian.gmeiner@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1479885981-20186-1-git-send-email-christian.gmeiner@gmail.com> References: <1479885981-20186-1-git-send-email-christian.gmeiner@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/etnaviv/etnaviv_bo.c b/etnaviv/etnaviv_bo.c index 833f8bd..ed1f516 100644 --- a/etnaviv/etnaviv_bo.c +++ b/etnaviv/etnaviv_bo.c @@ -330,7 +330,7 @@ int etna_bo_cpu_prep(struct etna_bo *bo, uint32_t op) .op = op, }; - get_abs_timeout(&req.timeout, 5000); + get_abs_timeout_ns(&req.timeout, 5000000000); return drmCommandWrite(bo->dev->fd, DRM_ETNAVIV_GEM_CPU_PREP, &req, sizeof(req));
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> --- etnaviv/etnaviv_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)