From patchwork Fri Jan 10 15:17:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 182785 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp3195600ile; Sun, 12 Jan 2020 09:33:21 -0800 (PST) X-Google-Smtp-Source: APXvYqyePOEImfGZHvuSjz8iA6Ffw2J8T/ShCwHjCB8C0vOIv5/POKHY5PofAQIts6A9VMO3hSw+ X-Received: by 2002:a63:e0c:: with SMTP id d12mr16144077pgl.3.1578848705468; Sun, 12 Jan 2020 09:05:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578848705; cv=none; d=google.com; s=arc-20160816; b=al/rdwUctVtIRXGVd+kONAKpqa1/lM/X/GD9Lcp7RT9oGA7UVYeM4NhvLo3HXSFavq 3/medo2O/IahPJlwRKhAtX9YLUMYBgzqKPwa5Z8xuNI8hStU5JxKJVeDlWIv9cpRlwCS wp7zO5xWd+1IKkhx0IvsgdUZTSWTkah7pWzk32G/uLp+oPKS+uPAgFzFpkgN0dIn/WMy QpxfwOJdrRczWjS9jcnX4v72Q/ZMOz6ULxn0pQTGwwsHOmpsA6+nuepA6BDGeCrLQTsM AalD2gXuQeIrFB0tcldhczdjzo1tgrUT18bK4nWWpxF75tmAjIyjkibimRGO4F1eUr8N F7dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :delivered-to; bh=9EZDiAtKesJzVUdWs7/x6KsUcgEQNduMAQSUUDBxG1s=; b=uwhUQdwUcPh3y/gYWLDbFTrP0EG0QbQPyLgvyoKGYA0HtDAAANTnzoUo9DwA+0BT0A Of0X/nPTggMxKL+soLPRGJ3Ago/XF4MlWigtufKjhVw17mhCmQkhVm1EXMzA/pa2U745 Ex+QoVtS2B8rUfeP9pZUtMCcsr64besO+Q9R+CPslVtmJ5Ik2BQOI7VSRRM1/kFIj0PY zijBhRuWmj6Q7yOMUjdqwOvdxtivHbSlbuJhIWZY5zkNI7r2lMHnORaRjKEafzuM1VUy DjfsK/lmUFLMOkHJSFUW3nCtrQKiu2/cOivCQjqJmDaCPgGH3FHqX646uMELkygq1hEl 6W/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id x23si9117546pfc.169.2020.01.12.09.05.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jan 2020 09:05:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) 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 151796EA30; Fri, 10 Jan 2020 15:18:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) by gabe.freedesktop.org (Postfix) with ESMTPS id 09CE06EA2E; Fri, 10 Jan 2020 15:18:37 +0000 (UTC) Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1N4hex-1jrPza1LRH-011kch; Fri, 10 Jan 2020 16:18:09 +0100 From: Arnd Bergmann To: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Chris Wilson , Matthew Auld Subject: [PATCH] i915: ggtt: include asm/smp.h Date: Fri, 10 Jan 2020 16:17:54 +0100 Message-Id: <20200110151807.2863347-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:TdcCHNFfPiGJRLCq5binja0aFvhBJCOv8HRjm9+CE0MRaD/kmMC PxXlULSPhYzQYQk03k8vMnd9nBMyr/MQ5Ld3cz5W0g5CjnEA7pi41yBIkZ1AkBpPFsw99F3 Q/9+SvoAR7bFeo2nssLIBt3H4TiAfDbX7gITxGA5/KZkL+UovBR7u8q60XPNB+DBz1aKUp/ 63h81eSnqzapgQkIIIeTg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:yO1slOsO/lk=:87iYLgBH6h0Q6+CY11Wgsh lXJDfAj9Z+L1mAm8zO//lZUSEfS885uQ3rtWp/fa3y4eAKLjJ31p58KgveFCmH8z3Cf5AOrL5 LRkBRSeoIOVKfocu7It03ZHE3z5PaBq4NLbzbLDo6uTtmllJFMzkICYoYMRY+nJUjvNtLM7mh +pfK6RIWclprMq/CnxcXTt3bU9SvSh0ALmi+UdPt/VdS8cF5JLqABH8bVhSe33BJxYfCDJwGG yenDzMlBwAMw9D0VS1O4LND5LDtXfph2MqIgHXyjgsH6ShpDJZcFivCVbSXGP01Vbowq1aKI7 YYRi5TXSnMewvbB07STL5AubGrVvM0boRbQ/meCeF5WG5t9HnR/Iax4h5Zpt7VlueEQ3upzxh j3KtF/IpmJ/e7BFU21fx025On/9lhDZVHKcCqtijoWAInG0juY/xoogs+Rvw/YzD6vAyoEggi p0CKQ3orLrhp7mwExGFhb/I+NVmtlq2xxttVdaO2dUqcHHaoOLoC41vm4pgJ3YkZtUbh8c/YZ ETS5wmA4144bEDx0tjWVf0Uqphv2f0kuj1l+8K+OYm4fLRVlT/XbO7GwCNh28FnkZursKWk0r 5TvGSZKIPGUtgbLDKRCKAEPdJtBH1RERjYz6Fo/TJR9k/sFks9tZ7wT0dz3XEDb4J3CmmhHRg rXyQ9hBYChP04LW4prCaCox9WLCkyELnJWF7MYfoePDn+wcEyO7nPi3TNprvPJEmYyMBgU9wY CnfTFMxERtodVZJiJ+QNopuj6uBjoYrkpqM4D8EDtNIaHLmKhnDwB+VyJtcM+FLjSuifDiBvS TS7ed0v0h8yiOLRGlK/7vitAzB3iC9bPilS2XRke3o15Ba9KBIljFk0v/xo2+R23iheHnWzvq 5/yeWvvJoKi8sTYAgWLw== 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: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Arnd Bergmann , linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Splitting up the i915_gem_gtt caused a build failure in some configurations: drivers/gpu/drm/i915/gt/intel_ggtt.c: In function 'ggtt_restore_mappings': drivers/gpu/drm/i915/gt/intel_ggtt.c:1239:3: error: implicit declaration of function 'wbinvd_on_all_cpus'; did you mean 'wrmsr_on_cpus'? [-Werror=implicit-function-declaration] wbinvd_on_all_cpus(); ^~~~~~~~~~~~~~~~~~ wrmsr_on_cpus Add the missing header file. Fixes: 2c86e55d2ab5 ("drm/i915/gtt: split up i915_gem_gtt") Signed-off-by: Arnd Bergmann --- I ran into this bug a few days ago on linux-next. Please just ignore if it's already fixed in the meantime. --- drivers/gpu/drm/i915/gt/intel_ggtt.c | 1 + 1 file changed, 1 insertion(+) -- 2.20.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/i915/gt/intel_ggtt.c b/drivers/gpu/drm/i915/gt/intel_ggtt.c index 1a2b5dcde960..9ef8ed85a738 100644 --- a/drivers/gpu/drm/i915/gt/intel_ggtt.c +++ b/drivers/gpu/drm/i915/gt/intel_ggtt.c @@ -6,6 +6,7 @@ #include #include +#include #include "intel_gt.h" #include "i915_drv.h"