From patchwork Fri Oct 30 11:13:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Christian_K=C3=B6nig?= X-Patchwork-Id: 11869235 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.3 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,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 BCA14C4742C for ; Fri, 30 Oct 2020 11:13:06 +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 517FC2076D for ; Fri, 30 Oct 2020 11:13:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CxYfotzW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 517FC2076D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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 745656EDBA; Fri, 30 Oct 2020 11:13:05 +0000 (UTC) Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0F5CC6EDBA for ; Fri, 30 Oct 2020 11:13:04 +0000 (UTC) Received: by mail-ej1-x641.google.com with SMTP id bn26so8046650ejb.6 for ; Fri, 30 Oct 2020 04:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=pOW3vGKBRnjjFvjvmnRK3Bz+jI8Oxj9l9KBtdUt/uOs=; b=CxYfotzWGSQV4n18twMJLyZsD9vKNMqi0n1lJ6ZJMvHKxhGx3ChIRg5O/vQSnVcfoU 2eVIeMnHrUkLxmbkskw/bCwx7WgM+WUdnDVHub+/muilIuWYSp+YrHWN8RjeTwTcvDDH MVfZQNcd3X/2Fmsgqm2y+kYI3WFHJRDZE7i6pAqRKUHyUb/pHojmb/3YJSvQS0SFRzuA 2rLDG8ypzawB5ZiIiGGsNxGUzAwVGknc0xMOPJB/8jc/PXIYj9f3zm7oK1cSgSOk3sji wN5nLLQUoaF2KwoCdaZBQZjQoQxzJcVe5DS/ei32hbIQ1oRhBqhVP9e+qLLAdSs47IXT 9Z9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=pOW3vGKBRnjjFvjvmnRK3Bz+jI8Oxj9l9KBtdUt/uOs=; b=sNUbvx2+Ift6t/p4OGBRW4aKIWIoI3lpckM4dM/+ooGU7VNn9WbFRhk8IeemCY4R4e HFcfVvWkimSsioc7V0EkQsZV2XvNVeU+G625JCSGICu4zgqf2pivnP7eicagq6NYLRfT mGy0d3+fnQoPiC7SmthqDh3ftTPIjOr0+DOjOo/R+vVZYr6XH3dWeCc3tvli/b+RAYx9 a867Ex3u2pWse8N3Vy8dEHgpGBon1kcGfNmX/dF1fA5DWDSZK3zhJPCC2nyVbAtnPvWr ZDVwFTy9QHHodtVgJrNP7p80uB+/AHfzWJdoMZrvElCzKJXJ96jedW03q3JrkYa6Y9Jl KNrw== X-Gm-Message-State: AOAM531FOSSMY0Qw1MPaXgf/4tuMrVUVftnmb6EjkHpmoxXsF+LRErLr T7+Zmhg0MRlnDVx4JyPs1+oSGSzTTSI= X-Google-Smtp-Source: ABdhPJxe2DImzlAqfx7WG0yXkUmAMNNn987fElrUt4oyXff0SbcswnSCN8+txFWQ/b1z5BHO3/MrAA== X-Received: by 2002:a17:906:d7b9:: with SMTP id pk25mr1856264ejb.486.1604056382520; Fri, 30 Oct 2020 04:13:02 -0700 (PDT) Received: from abel.fritz.box ([2a02:908:1252:fb60:19c6:1a14:8b0e:14ec]) by smtp.gmail.com with ESMTPSA id y1sm2971657edj.76.2020.10.30.04.13.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2020 04:13:02 -0700 (PDT) From: " =?utf-8?q?Christian_K=C3=B6nig?= " X-Google-Original-From: =?utf-8?q?Christian_K=C3=B6nig?= To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/nouveu: fix swiotlb include Date: Fri, 30 Oct 2020 12:13:01 +0100 Message-Id: <20201030111301.13458-1-christian.koenig@amd.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 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: sfr@canb.auug.org.au Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The check for swiotlb has moved to nouveu_ttm.c, but we forgot to move the include as well. Signed-off-by: Christian König Acked-by: Daniel Vetter --- drivers/gpu/drm/nouveau/nouveau_bo.c | 1 - drivers/gpu/drm/nouveau/nouveau_ttm.c | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index 746c06ed195b..8133377d865d 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bo.c +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c @@ -28,7 +28,6 @@ */ #include -#include #include "nouveau_drv.h" #include "nouveau_chan.h" diff --git a/drivers/gpu/drm/nouveau/nouveau_ttm.c b/drivers/gpu/drm/nouveau/nouveau_ttm.c index d696d882c9eb..2bf36229dd57 100644 --- a/drivers/gpu/drm/nouveau/nouveau_ttm.c +++ b/drivers/gpu/drm/nouveau/nouveau_ttm.c @@ -22,6 +22,9 @@ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE * USE OR OTHER DEALINGS IN THE SOFTWARE. */ + +#include + #include "nouveau_drv.h" #include "nouveau_gem.h" #include "nouveau_mem.h"