Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE092C388F2 for ; Mon, 2 Nov 2020 13:44:04 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A18BB2227F for ; Mon, 2 Nov 2020 13:44:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A18BB2227F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C2856EB88; Mon, 2 Nov 2020 13:43:29 +0000 (UTC) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by gabe.freedesktop.org (Postfix) with ESMTPS id A83316E4AF for ; Mon, 2 Nov 2020 11:11:36 +0000 (UTC) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 7044AFDB; Mon, 2 Nov 2020 06:08:11 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 02 Nov 2020 06:08:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=V0Uz7vlzKIvnIlOQtX+J4fapG0 LP/f9Q0ZgeLirlhg0=; b=sqoxb9MuH+NE0i/RGh7XJhC6VtqLH7ps7YBTFKbdjP qIjOd0yIhGkngQ6cs+KxNmZ3lE8mUy1V5meI+TsAO35pfTgCCh+DGuDTnn7GQL+x RydFoWOIX3LUBjpZsp67S42qsCDU8X9nOllHobs8zvnne5792OmSH/C6ugmCudci b91zvUz4LsZkmzplDTy+ysYu5pwOzzaoeSh3kAl4aMr6tMuBCOVdlZehs6S0hRur lsv4UY8OLQmL5rNz6VgLW4cmPpzNwyEuVbYtGzmSaFAboR4wVrId7AOPXPiWNiyT oB1JU2r2DjMendsQF3JFLXFNiTnSwXgT2nA3ILIrnlgg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=V0Uz7vlzKIvnIlOQt X+J4fapG0LP/f9Q0ZgeLirlhg0=; b=l59bbQxn3psO8qSm6V/SL/Py5HGzcvhdn jV4w5hJWD6naxzwpEugo5T5MyxqXLN5lTH1XkpEHz60jCacxW82WmcKzT/lPXTkX lzTrY930t5HpNFvCnltwL36E2RsmjIhjSMnhmg2EUqS2pOPSQxMMfjNOk3tqghJp sMP8NiI3+3NTLqkLT3mrofZ0iZXFWPQBKRSCKu05cRbLlXQLx8GaZ74fht+6kgmO 1/M4SKaXctDNRECVZ37KgREc/k8Ma4IJBxy9a3Od+6FBpTOruFIpBo64vW8NtahE Nh19vDfGqmQQz2vnFyTuTkygZdzvFtr5OeQSQlEr7stWnfotFFQdg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtuddgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhmvgcu tfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrthhtvg hrnhephfefhfehkeejueehhffhvdfgiedukedutdegveeifefhieeuvdduuddvgfeffedu necuffhomhgrihhnpehfrhgvvgguvghskhhtohhprdhorhhgnecukfhppeeltddrkeelrd eikedrjeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id BBD5B328005A; Mon, 2 Nov 2020 06:08:08 -0500 (EST) From: Maxime Ripard To: =?UTF-8?q?Christian=20K=C3=B6nig?= , Daniel Vetter , David Airlie Subject: [PATCH] drm/nouveau/ttm: Add limits.h Date: Mon, 2 Nov 2020 12:08:06 +0100 Message-Id: <20201102110806.429002-1-maxime@cerno.tech> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 02 Nov 2020 13:43:21 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Zimmermann , dri-devel@lists.freedesktop.org, Maxime Ripard Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" It seems that a recent commit broke the nouveau compilation when swiotlb is disabled (which is the case on our ARM defconfig for example). Daniel says """ Since the proper fix is maybe stuck in the usual "drm abuses swiotlb internals" bikeshed, maybe best if we push a fix to including limits.h in nouveau and call it done? """ So let's go down the simplest path to fix our build, and goes back to it later if needed. Link: https://patchwork.freedesktop.org/patch/397835/ Fixes: 4dbafbd30aef ("drm/nouveu: fix swiotlb include") Acked-by: Daniel Vetter Signed-off-by: Maxime Ripard --- drivers/gpu/drm/nouveau/nouveau_ttm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/nouveau/nouveau_ttm.c b/drivers/gpu/drm/nouveau/nouveau_ttm.c index 2bf36229dd57..a37bc3d7b38b 100644 --- a/drivers/gpu/drm/nouveau/nouveau_ttm.c +++ b/drivers/gpu/drm/nouveau/nouveau_ttm.c @@ -23,6 +23,7 @@ * USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#include #include #include "nouveau_drv.h" -- 2.28.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel